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, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateServiceOfferingOptions() |
Modifier and Type | Method and Description |
---|---|
CreateServiceOfferingOptions |
accountInDomain(String account,
long domain) |
CreateServiceOfferingOptions |
domainId(long 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, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public 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, long domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic CreateServiceOfferingOptions domainId(long domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2012 jclouds. All Rights Reserved.