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, pathSuffix, payload, queryParameters| Constructor and Description |
|---|
CreateDiskOfferingOptions() |
| Modifier and Type | Method and Description |
|---|---|
CreateDiskOfferingOptions |
accountInDomain(String account,
String domain) |
CreateDiskOfferingOptions |
customized(boolean customized) |
CreateDiskOfferingOptions |
diskSizeInGB(int diskSizeInGB) |
CreateDiskOfferingOptions |
domainId(String domainId) |
CreateDiskOfferingOptions |
tags(Set<String> tags) |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toStringpublic 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, String domain)
accountInDomain in class AccountInDomainOptionsaccount - an optional account for the resourcedomain - domain idpublic CreateDiskOfferingOptions domainId(String domainId)
domainId in class AccountInDomainOptionsdomainId - The domain for the resourceCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.