@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()
Human-friendly description of the license configuration.
|
Long |
getLicenseCount()
Number of licenses managed by the license configuration.
|
Boolean |
getLicenseCountHardLimit()
Flag indicating whether hard or soft license enforcement is used.
|
String |
getLicenseCountingType()
Dimension to use to track the license inventory.
|
List<String> |
getLicenseRules()
Array of configured License Manager rules.
|
String |
getName()
Name of the license configuration.
|
List<Tag> |
getTags()
The tags to apply to the resources during launch.
|
int |
hashCode() |
Boolean |
isLicenseCountHardLimit()
Flag indicating whether hard or soft license enforcement is used.
|
void |
setDescription(String description)
Human-friendly description of the license configuration.
|
void |
setLicenseCount(Long licenseCount)
Number of licenses managed by the license configuration.
|
void |
setLicenseCountHardLimit(Boolean licenseCountHardLimit)
Flag indicating whether hard or soft license enforcement is used.
|
void |
setLicenseCountingType(String licenseCountingType)
Dimension to use to track the license inventory.
|
void |
setLicenseRules(Collection<String> licenseRules)
Array of configured License Manager rules.
|
void |
setName(String name)
Name of the license configuration.
|
void |
setTags(Collection<Tag> tags)
The tags to apply to the resources during launch.
|
String |
toString()
Returns a string representation of this object.
|
CreateLicenseConfigurationRequest |
withDescription(String description)
Human-friendly description of the license configuration.
|
CreateLicenseConfigurationRequest |
withLicenseCount(Long licenseCount)
Number of licenses managed by the license configuration.
|
CreateLicenseConfigurationRequest |
withLicenseCountHardLimit(Boolean licenseCountHardLimit)
Flag indicating whether hard or soft license enforcement is used.
|
CreateLicenseConfigurationRequest |
withLicenseCountingType(LicenseCountingType licenseCountingType)
Dimension to use to track the license inventory.
|
CreateLicenseConfigurationRequest |
withLicenseCountingType(String licenseCountingType)
Dimension to use to track the license inventory.
|
CreateLicenseConfigurationRequest |
withLicenseRules(Collection<String> licenseRules)
Array of configured License Manager rules.
|
CreateLicenseConfigurationRequest |
withLicenseRules(String... licenseRules)
Array of configured License Manager rules.
|
CreateLicenseConfigurationRequest |
withName(String name)
Name of the license configuration.
|
CreateLicenseConfigurationRequest |
withTags(Collection<Tag> tags)
The tags to apply to the resources during launch.
|
CreateLicenseConfigurationRequest |
withTags(Tag... tags)
The tags to apply to the resources during launch.
|
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)
Human-friendly description of the license configuration.
description
- Human-friendly description of the license configuration.public String getDescription()
Human-friendly description of the license configuration.
public CreateLicenseConfigurationRequest withDescription(String description)
Human-friendly description of the license configuration.
description
- Human-friendly description of the license configuration.public void setLicenseCountingType(String licenseCountingType)
Dimension to use to track the license inventory.
licenseCountingType
- Dimension to use to track the license inventory.LicenseCountingType
public String getLicenseCountingType()
Dimension to use to track the license inventory.
LicenseCountingType
public CreateLicenseConfigurationRequest withLicenseCountingType(String licenseCountingType)
Dimension to use to track the license inventory.
licenseCountingType
- Dimension to use to track the license inventory.LicenseCountingType
public CreateLicenseConfigurationRequest withLicenseCountingType(LicenseCountingType licenseCountingType)
Dimension to use to track the license inventory.
licenseCountingType
- Dimension to use 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)
Flag indicating whether hard or soft license enforcement is used. Exceeding a hard limit results in the blocked deployment of new instances.
licenseCountHardLimit
- Flag indicating whether hard or soft license enforcement is used. Exceeding a hard limit results in the
blocked deployment of new instances.public Boolean getLicenseCountHardLimit()
Flag indicating whether hard or soft license enforcement is used. Exceeding a hard limit results in the blocked deployment of new instances.
public CreateLicenseConfigurationRequest withLicenseCountHardLimit(Boolean licenseCountHardLimit)
Flag indicating whether hard or soft license enforcement is used. Exceeding a hard limit results in the blocked deployment of new instances.
licenseCountHardLimit
- Flag indicating whether hard or soft license enforcement is used. Exceeding a hard limit results in the
blocked deployment of new instances.public Boolean isLicenseCountHardLimit()
Flag indicating whether hard or soft license enforcement is used. Exceeding a hard limit results in the blocked deployment of new instances.
public List<String> getLicenseRules()
Array of configured License Manager rules.
public void setLicenseRules(Collection<String> licenseRules)
Array of configured License Manager rules.
licenseRules
- Array of configured License Manager rules.public CreateLicenseConfigurationRequest withLicenseRules(String... licenseRules)
Array of configured License Manager rules.
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
- Array of configured License Manager rules.public CreateLicenseConfigurationRequest withLicenseRules(Collection<String> licenseRules)
Array of configured License Manager rules.
licenseRules
- Array of configured License Manager rules.public List<Tag> getTags()
The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags .
public void setTags(Collection<Tag> tags)
The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags .
tags
- The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The
specified tags are applied to all instances or volumes that are created during launch. To tag a resource
after it has been created, see CreateTags .
public CreateLicenseConfigurationRequest withTags(Tag... tags)
The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags .
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
- The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The
specified tags are applied to all instances or volumes that are created during launch. To tag a resource
after it has been created, see CreateTags .public CreateLicenseConfigurationRequest withTags(Collection<Tag> tags)
The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags .
tags
- The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The
specified tags are applied to all instances or volumes that are created during launch. To tag a resource
after it has been created, see CreateTags .
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.