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