Package org.jclouds.cloudstack.options
Class RegisterTemplateOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.AccountInDomainOptions
-
- org.jclouds.cloudstack.options.RegisterTemplateOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class RegisterTemplateOptions extends AccountInDomainOptions
Options used to control how a template is registered.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegisterTemplateOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static RegisterTemplateOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description RegisterTemplateOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterTemplateOptionsbits(int bits)32 or 64 bits support.RegisterTemplateOptionschecksum(String checksum)the MD5 checksum value of this templateRegisterTemplateOptionsisExtractable(boolean isExtractable)true if the template or its derivatives are extractable; default is trueRegisterTemplateOptionsisFeatured(boolean isFeatured)true if this template is a featured template, false otherwiseRegisterTemplateOptionsisPublic(boolean isPublic)true if the template is available to all accounts; default is trueRegisterTemplateOptionspasswordEnabled(boolean passwordEnabled)true if the template supports the password reset feature; default is falseRegisterTemplateOptionsprojectId(String projectId)the project for this template.RegisterTemplateOptionsrequiresHVM(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, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final RegisterTemplateOptions NONE
-
-
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
-
projectId
public RegisterTemplateOptions projectId(String projectId)
the project for 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
-
-