Package org.jclouds.cloudstack.options
Class CreateDiskOfferingOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
org.jclouds.cloudstack.options.CreateDiskOfferingOptions
- All Implemented Interfaces:
HttpRequestOptions
Options to control how disk offerings are 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 TypeMethodDescriptionaccountInDomain
(String account, String domain) customized
(boolean customized) diskSizeInGB
(int diskSizeInGB) 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
-
CreateDiskOfferingOptions
public CreateDiskOfferingOptions()
-
-
Method Details
-
customized
- Parameters:
customized
- whether disk offering is custom or not
-
diskSizeInGB
- Parameters:
diskSizeInGB
- size of the disk offering in GB
-
tags
- Parameters:
tags
- the tags for this service offering
-
accountInDomain
- Overrides:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-