public class CreateDiskOfferingOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
CreateDiskOfferingOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static CreateDiskOfferingOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateDiskOfferingOptions() |
Modifier and Type | Method and Description |
---|---|
CreateDiskOfferingOptions |
accountInDomain(String account,
long domain) |
CreateDiskOfferingOptions |
customized(boolean customized) |
CreateDiskOfferingOptions |
diskSizeInGB(int diskSizeInGB) |
CreateDiskOfferingOptions |
domainId(long domainId) |
CreateDiskOfferingOptions |
tags(Set<String> tags) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final CreateDiskOfferingOptions NONE
public CreateDiskOfferingOptions customized(boolean customized)
customized
- whether disk offering is custom or notpublic CreateDiskOfferingOptions diskSizeInGB(int diskSizeInGB)
diskSizeInGB
- size of the disk offering in GBpublic CreateDiskOfferingOptions tags(Set<String> tags)
tags
- the tags for this service offeringpublic CreateDiskOfferingOptions accountInDomain(String account, long domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic CreateDiskOfferingOptions domainId(long domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2012 jclouds. All Rights Reserved.