org.jclouds.cloudstack.options
Class UpdateTemplatePermissionsOptions

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

public class UpdateTemplatePermissionsOptions
extends BaseHttpRequestOptions

Options used to control how a template should be updated.

Author:
Richard Downer
See Also:

Nested Class Summary
static class UpdateTemplatePermissionsOptions.Builder
           
static class UpdateTemplatePermissionsOptions.Operation
           
 
Field Summary
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
UpdateTemplatePermissionsOptions()
           
 
Method Summary
 UpdateTemplatePermissionsOptions accounts(Iterable<Long> 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 otherwise
 UpdateTemplatePermissionsOptions isPublic(boolean isPublic)
          true for public template/iso, false for private templates/isos
 UpdateTemplatePermissionsOptions op(UpdateTemplatePermissionsOptions.Operation op)
          permission operator (add, remove, reset)
 
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
 

Constructor Detail

UpdateTemplatePermissionsOptions

public UpdateTemplatePermissionsOptions()
Method Detail

accounts

public UpdateTemplatePermissionsOptions accounts(Iterable<Long> accounts)
a list of accounts. 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)



Copyright © 2009-2012 jclouds. All Rights Reserved.