org.jclouds.cloudstack.options
Class RegisterTemplateOptions

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

public class RegisterTemplateOptions
extends AccountInDomainOptions

Options used to control how a template is registered.

Author:
Richard Downer
See Also:

Nested Class Summary
static class RegisterTemplateOptions.Builder
           
 
Field Summary
static RegisterTemplateOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
RegisterTemplateOptions()
           
 
Method Summary
 RegisterTemplateOptions bits(int bits)
          32 or 64 bits support.
 RegisterTemplateOptions checksum(String checksum)
          the MD5 checksum value of this template
 RegisterTemplateOptions isExtractable(boolean isExtractable)
          true if the template or its derivatives are extractable; default is true
 RegisterTemplateOptions isFeatured(boolean isFeatured)
          true if this template is a featured template, false otherwise
 RegisterTemplateOptions isPublic(boolean isPublic)
          true if the template is available to all accounts; default is true
 RegisterTemplateOptions passwordEnabled(boolean passwordEnabled)
          true if the template supports the password reset feature; default is false
 RegisterTemplateOptions requiresHVM(boolean requiresHVM)
          true if this template requires HVM
 
Methods inherited from class org.jclouds.cloudstack.options.AccountInDomainOptions
accountInDomain, domainId
 
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 RegisterTemplateOptions NONE
Constructor Detail

RegisterTemplateOptions

public RegisterTemplateOptions()
Method Detail

bits

public RegisterTemplateOptions bits(int bits)
32 or 64 bits support. 64 by default


checksum

public RegisterTemplateOptions checksum(String checksum)
the MD5 checksum value of this template


isExtractable

public RegisterTemplateOptions isExtractable(boolean isExtractable)
true if the template or its derivatives are extractable; default is true


isFeatured

public RegisterTemplateOptions isFeatured(boolean isFeatured)
true if this template is a featured template, false otherwise


isPublic

public RegisterTemplateOptions isPublic(boolean isPublic)
true if the template is available to all accounts; default is true


passwordEnabled

public RegisterTemplateOptions passwordEnabled(boolean passwordEnabled)
true if the template supports the password reset feature; default is false


requiresHVM

public RegisterTemplateOptions requiresHVM(boolean requiresHVM)
true if this template requires HVM



Copyright © 2009-2012 jclouds. All Rights Reserved.