@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLicenseConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLicenseConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLicenseConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
Description of the license configuration.
|
Long |
getLicenseCount()
Number of licenses managed by the license configuration.
|
Boolean |
getLicenseCountHardLimit()
Indicates whether hard or soft license enforcement is used.
|
String |
getLicenseCountingType()
Dimension used to track the license inventory.
|
List<String> |
getLicenseRules()
License rules.
|
String |
getName()
Name of the license configuration.
|
List<ProductInformation> |
getProductInformationList()
Product information.
|
List<Tag> |
getTags()
Tags to add to the license configuration.
|
int |
hashCode() |
Boolean |
isLicenseCountHardLimit()
Indicates whether hard or soft license enforcement is used.
|
void |
setDescription(String description)
Description of the license configuration.
|
void |
setLicenseCount(Long licenseCount)
Number of licenses managed by the license configuration.
|
void |
setLicenseCountHardLimit(Boolean licenseCountHardLimit)
Indicates whether hard or soft license enforcement is used.
|
void |
setLicenseCountingType(String licenseCountingType)
Dimension used to track the license inventory.
|
void |
setLicenseRules(Collection<String> licenseRules)
License rules.
|
void |
setName(String name)
Name of the license configuration.
|
void |
setProductInformationList(Collection<ProductInformation> productInformationList)
Product information.
|
void |
setTags(Collection<Tag> tags)
Tags to add to the license configuration.
|
String |
toString()
Returns a string representation of this object.
|
CreateLicenseConfigurationRequest |
withDescription(String description)
Description of the license configuration.
|
CreateLicenseConfigurationRequest |
withLicenseCount(Long licenseCount)
Number of licenses managed by the license configuration.
|
CreateLicenseConfigurationRequest |
withLicenseCountHardLimit(Boolean licenseCountHardLimit)
Indicates whether hard or soft license enforcement is used.
|
CreateLicenseConfigurationRequest |
withLicenseCountingType(LicenseCountingType licenseCountingType)
Dimension used to track the license inventory.
|
CreateLicenseConfigurationRequest |
withLicenseCountingType(String licenseCountingType)
Dimension used to track the license inventory.
|
CreateLicenseConfigurationRequest |
withLicenseRules(Collection<String> licenseRules)
License rules.
|
CreateLicenseConfigurationRequest |
withLicenseRules(String... licenseRules)
License rules.
|
CreateLicenseConfigurationRequest |
withName(String name)
Name of the license configuration.
|
CreateLicenseConfigurationRequest |
withProductInformationList(Collection<ProductInformation> productInformationList)
Product information.
|
CreateLicenseConfigurationRequest |
withProductInformationList(ProductInformation... productInformationList)
Product information.
|
CreateLicenseConfigurationRequest |
withTags(Collection<Tag> tags)
Tags to add to the license configuration.
|
CreateLicenseConfigurationRequest |
withTags(Tag... tags)
Tags to add to the license configuration.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
Name of the license configuration.
name
- Name of the license configuration.public String getName()
Name of the license configuration.
public CreateLicenseConfigurationRequest withName(String name)
Name of the license configuration.
name
- Name of the license configuration.public void setDescription(String description)
Description of the license configuration.
description
- Description of the license configuration.public String getDescription()
Description of the license configuration.
public CreateLicenseConfigurationRequest withDescription(String description)
Description of the license configuration.
description
- Description of the license configuration.public void setLicenseCountingType(String licenseCountingType)
Dimension used to track the license inventory.
licenseCountingType
- Dimension used to track the license inventory.LicenseCountingType
public String getLicenseCountingType()
Dimension used to track the license inventory.
LicenseCountingType
public CreateLicenseConfigurationRequest withLicenseCountingType(String licenseCountingType)
Dimension used to track the license inventory.
licenseCountingType
- Dimension used to track the license inventory.LicenseCountingType
public CreateLicenseConfigurationRequest withLicenseCountingType(LicenseCountingType licenseCountingType)
Dimension used to track the license inventory.
licenseCountingType
- Dimension used to track the license inventory.LicenseCountingType
public void setLicenseCount(Long licenseCount)
Number of licenses managed by the license configuration.
licenseCount
- Number of licenses managed by the license configuration.public Long getLicenseCount()
Number of licenses managed by the license configuration.
public CreateLicenseConfigurationRequest withLicenseCount(Long licenseCount)
Number of licenses managed by the license configuration.
licenseCount
- Number of licenses managed by the license configuration.public void setLicenseCountHardLimit(Boolean licenseCountHardLimit)
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
licenseCountHardLimit
- Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of
new instances.public Boolean getLicenseCountHardLimit()
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
public CreateLicenseConfigurationRequest withLicenseCountHardLimit(Boolean licenseCountHardLimit)
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
licenseCountHardLimit
- Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of
new instances.public Boolean isLicenseCountHardLimit()
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
public List<String> getLicenseRules()
License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). Available rules vary by dimension.
Cores
dimension: allowedTenancy
| maximumCores
| minimumCores
Instances
dimension: allowedTenancy
| maximumCores
|
minimumCores
| maximumSockets
| minimumSockets
| maximumVcpus
| minimumVcpus
Sockets
dimension: allowedTenancy
| maximumSockets
|
minimumSockets
vCPUs
dimension: allowedTenancy
| honorVcpuOptimization
|
maximumVcpus
| minimumVcpus
Cores
dimension: allowedTenancy
| maximumCores
|
minimumCores
Instances
dimension: allowedTenancy
| maximumCores
|
minimumCores
| maximumSockets
| minimumSockets
|
maximumVcpus
| minimumVcpus
Sockets
dimension: allowedTenancy
| maximumSockets
|
minimumSockets
vCPUs
dimension: allowedTenancy
| honorVcpuOptimization
|
maximumVcpus
| minimumVcpus
public void setLicenseRules(Collection<String> licenseRules)
License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). Available rules vary by dimension.
Cores
dimension: allowedTenancy
| maximumCores
| minimumCores
Instances
dimension: allowedTenancy
| maximumCores
|
minimumCores
| maximumSockets
| minimumSockets
| maximumVcpus
| minimumVcpus
Sockets
dimension: allowedTenancy
| maximumSockets
|
minimumSockets
vCPUs
dimension: allowedTenancy
| honorVcpuOptimization
|
maximumVcpus
| minimumVcpus
licenseRules
- License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). Available rules
vary by dimension.
Cores
dimension: allowedTenancy
| maximumCores
|
minimumCores
Instances
dimension: allowedTenancy
| maximumCores
|
minimumCores
| maximumSockets
| minimumSockets
|
maximumVcpus
| minimumVcpus
Sockets
dimension: allowedTenancy
| maximumSockets
|
minimumSockets
vCPUs
dimension: allowedTenancy
| honorVcpuOptimization
|
maximumVcpus
| minimumVcpus
public CreateLicenseConfigurationRequest withLicenseRules(String... licenseRules)
License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). Available rules vary by dimension.
Cores
dimension: allowedTenancy
| maximumCores
| minimumCores
Instances
dimension: allowedTenancy
| maximumCores
|
minimumCores
| maximumSockets
| minimumSockets
| maximumVcpus
| minimumVcpus
Sockets
dimension: allowedTenancy
| maximumSockets
|
minimumSockets
vCPUs
dimension: allowedTenancy
| honorVcpuOptimization
|
maximumVcpus
| minimumVcpus
NOTE: This method appends the values to the existing list (if any). Use
setLicenseRules(java.util.Collection)
or withLicenseRules(java.util.Collection)
if you want to
override the existing values.
licenseRules
- License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). Available rules
vary by dimension.
Cores
dimension: allowedTenancy
| maximumCores
|
minimumCores
Instances
dimension: allowedTenancy
| maximumCores
|
minimumCores
| maximumSockets
| minimumSockets
|
maximumVcpus
| minimumVcpus
Sockets
dimension: allowedTenancy
| maximumSockets
|
minimumSockets
vCPUs
dimension: allowedTenancy
| honorVcpuOptimization
|
maximumVcpus
| minimumVcpus
public CreateLicenseConfigurationRequest withLicenseRules(Collection<String> licenseRules)
License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). Available rules vary by dimension.
Cores
dimension: allowedTenancy
| maximumCores
| minimumCores
Instances
dimension: allowedTenancy
| maximumCores
|
minimumCores
| maximumSockets
| minimumSockets
| maximumVcpus
| minimumVcpus
Sockets
dimension: allowedTenancy
| maximumSockets
|
minimumSockets
vCPUs
dimension: allowedTenancy
| honorVcpuOptimization
|
maximumVcpus
| minimumVcpus
licenseRules
- License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). Available rules
vary by dimension.
Cores
dimension: allowedTenancy
| maximumCores
|
minimumCores
Instances
dimension: allowedTenancy
| maximumCores
|
minimumCores
| maximumSockets
| minimumSockets
|
maximumVcpus
| minimumVcpus
Sockets
dimension: allowedTenancy
| maximumSockets
|
minimumSockets
vCPUs
dimension: allowedTenancy
| honorVcpuOptimization
|
maximumVcpus
| minimumVcpus
public List<Tag> getTags()
Tags to add to the license configuration.
public void setTags(Collection<Tag> tags)
Tags to add to the license configuration.
tags
- Tags to add to the license configuration.public CreateLicenseConfigurationRequest withTags(Tag... tags)
Tags to add to the license configuration.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags to add to the license configuration.public CreateLicenseConfigurationRequest withTags(Collection<Tag> tags)
Tags to add to the license configuration.
tags
- Tags to add to the license configuration.public List<ProductInformation> getProductInformationList()
Product information.
public void setProductInformationList(Collection<ProductInformation> productInformationList)
Product information.
productInformationList
- Product information.public CreateLicenseConfigurationRequest withProductInformationList(ProductInformation... productInformationList)
Product information.
NOTE: This method appends the values to the existing list (if any). Use
setProductInformationList(java.util.Collection)
or
withProductInformationList(java.util.Collection)
if you want to override the existing values.
productInformationList
- Product information.public CreateLicenseConfigurationRequest withProductInformationList(Collection<ProductInformation> productInformationList)
Product information.
productInformationList
- Product information.public String toString()
toString
in class Object
Object.toString()
public CreateLicenseConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.