Package org.jclouds.cloudstack.options
Class UpdateTemplatePermissionsOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.UpdateTemplatePermissionsOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class UpdateTemplatePermissionsOptions extends BaseHttpRequestOptions
Options used to control how a template should be updated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateTemplatePermissionsOptions.Builder
static class
UpdateTemplatePermissionsOptions.Operation
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description UpdateTemplatePermissionsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTemplatePermissionsOptions
accounts(Iterable<String> accounts)
a list of accounts.UpdateTemplatePermissionsOptions
isExtractable(boolean isExtractable)
true if the template/iso is extractable, false other wise.UpdateTemplatePermissionsOptions
isFeatured(boolean isFeatured)
true for featured template/iso, false otherwiseUpdateTemplatePermissionsOptions
isPublic(boolean isPublic)
true for public template/iso, false for private templates/isosUpdateTemplatePermissionsOptions
op(UpdateTemplatePermissionsOptions.Operation op)
permission operator (add, remove, reset)UpdateTemplatePermissionsOptions
projectIds(Iterable<String> projectIds)
a list of projects.-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Method Detail
-
accounts
public UpdateTemplatePermissionsOptions accounts(Iterable<String> accounts)
a list of accounts. If specified, "op" parameter has to be passed in.
-
projectIds
public UpdateTemplatePermissionsOptions projectIds(Iterable<String> projectIds)
a list of projects. If specified, "op" parameter has to be passed in.
-
isExtractable
public UpdateTemplatePermissionsOptions isExtractable(boolean isExtractable)
true if the template/iso is extractable, false other wise. Can be set only by root admin
-
isFeatured
public UpdateTemplatePermissionsOptions isFeatured(boolean isFeatured)
true for featured template/iso, false otherwise
-
isPublic
public UpdateTemplatePermissionsOptions isPublic(boolean isPublic)
true for public template/iso, false for private templates/isos
-
op
public UpdateTemplatePermissionsOptions op(UpdateTemplatePermissionsOptions.Operation op)
permission operator (add, remove, reset)
-
-