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 class
RegisterTemplateOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static RegisterTemplateOptions
NONE
-
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 RegisterTemplateOptions
bits(int bits)
32 or 64 bits support.RegisterTemplateOptions
checksum(String checksum)
the MD5 checksum value of this templateRegisterTemplateOptions
isExtractable(boolean isExtractable)
true if the template or its derivatives are extractable; default is trueRegisterTemplateOptions
isFeatured(boolean isFeatured)
true if this template is a featured template, false otherwiseRegisterTemplateOptions
isPublic(boolean isPublic)
true if the template is available to all accounts; default is trueRegisterTemplateOptions
passwordEnabled(boolean passwordEnabled)
true if the template supports the password reset feature; default is falseRegisterTemplateOptions
projectId(String projectId)
the project for this template.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, 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
-
-