public class CreateServiceOfferingOptions extends AccountInDomainOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateServiceOfferingOptions.Builder |
| Modifier and Type | Field and Description |
|---|---|
static CreateServiceOfferingOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters| Constructor and Description |
|---|
CreateServiceOfferingOptions() |
| Modifier and Type | Method and Description |
|---|---|
CreateServiceOfferingOptions |
accountInDomain(String account,
String domain) |
CreateServiceOfferingOptions |
domainId(String domainId) |
CreateServiceOfferingOptions |
highlyAvailable(boolean highlyAvailable) |
CreateServiceOfferingOptions |
hostTags(Set<String> hostTags) |
CreateServiceOfferingOptions |
isSystem(boolean isSystem) |
CreateServiceOfferingOptions |
limitCpuUse(boolean limitCpuUse) |
CreateServiceOfferingOptions |
networkRateInMb(int networkRateInMb) |
CreateServiceOfferingOptions |
storageType(StorageType storageType) |
CreateServiceOfferingOptions |
systemVmType(SystemVmType systemVmType) |
CreateServiceOfferingOptions |
tags(Set<String> tags) |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toStringpublic static final CreateServiceOfferingOptions NONE
public CreateServiceOfferingOptions hostTags(Set<String> hostTags)
hostTags - the host tag for this service offeringpublic CreateServiceOfferingOptions isSystem(boolean isSystem)
isSystem - is this a system vm offeringpublic CreateServiceOfferingOptions limitCpuUse(boolean limitCpuUse)
limitCpuUse - restrict the CPU usage to committed service offeringpublic CreateServiceOfferingOptions networkRateInMb(int networkRateInMb)
networkRateInMb - data transfer rate in megabits per second allowed. Supported only
for non-System offering and system offerings having "domainrouter"
systemvmtypepublic CreateServiceOfferingOptions highlyAvailable(boolean highlyAvailable)
highlyAvailable - the HA for the service offeringpublic CreateServiceOfferingOptions storageType(StorageType storageType)
storageType - the storage type of the service offeringpublic CreateServiceOfferingOptions systemVmType(SystemVmType systemVmType)
systemVmType - the system VM type. Possible types are "domainrouter", "consoleproxy" and "secondarystoragevm"public CreateServiceOfferingOptions tags(Set<String> tags)
tags - the tags for this service offeringpublic CreateServiceOfferingOptions accountInDomain(String account, String domain)
accountInDomain in class AccountInDomainOptionsaccount - an optional account for the resourcedomain - domain idpublic CreateServiceOfferingOptions domainId(String domainId)
domainId in class AccountInDomainOptionsdomainId - The domain for the resourceCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.