Package org.jclouds.cloudstack.options
Class CreateTemplateOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.CreateTemplateOptions
- All Implemented Interfaces:
HttpRequestOptions
Options used to control how a template is created.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbits
(int bits) 32 or 64 bitisFeatured
(boolean isFeatured) true if this template is a featured template, false otherwiseisPublic
(boolean isPublic) true if this template is a public template, false otherwisepasswordEnabled
(boolean passwordEnabled) true if the template supports the password reset feature; default is falserequiresHVM
(boolean requiresHVM) true if the template requires HVM, false otherwisesnapshotId
(String snapshotId) the ID of the snapshot the template is being created from.the ID of the disk volume the template is being created from.Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
Field Details
-
NONE
-
-
Constructor Details
-
CreateTemplateOptions
public CreateTemplateOptions()
-
-
Method Details
-
bits
32 or 64 bit -
isFeatured
true if this template is a featured template, false otherwise -
isPublic
true if this template is a public template, false otherwise -
passwordEnabled
true if the template supports the password reset feature; default is false -
requiresHVM
true if the template requires HVM, false otherwise -
snapshotId
the ID of the snapshot the template is being created from. Either this parameter, or volumeId has to be passed in -
volumeId
the ID of the disk volume the template is being created from. Either this parameter, or snapshotId has to be passed in
-