org.jclouds.cloudstack.options
Class UpdateISOPermissionsOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.UpdateISOPermissionsOptions
All Implemented Interfaces:
HttpRequestOptions

public class UpdateISOPermissionsOptions
extends BaseHttpRequestOptions

Options for the ISO updateISOPermissions method.

Author:
Richard Downer
See Also:
ISOClient.updateISOPermissions(long, org.jclouds.cloudstack.options.UpdateISOPermissionsOptions...), ISOAsyncClient.updateISOPermissions(long, org.jclouds.cloudstack.options.UpdateISOPermissionsOptions...)

Nested Class Summary
static class UpdateISOPermissionsOptions.Builder
           
 
Field Summary
static UpdateISOPermissionsOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
UpdateISOPermissionsOptions()
           
 
Method Summary
 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, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final UpdateISOPermissionsOptions NONE
Constructor Detail

UpdateISOPermissionsOptions

public UpdateISOPermissionsOptions()
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)


Copyright © 2009-2012 jclouds. All Rights Reserved.