@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLicenseConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLicenseConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
GetLicenseConfigurationResult |
clone() |
boolean |
equals(Object obj) |
Long |
getConsumedLicenses()
Number of licenses assigned to resources.
|
List<ConsumedLicenseSummary> |
getConsumedLicenseSummaryList()
List of summaries for consumed licenses used by various resources.
|
String |
getDescription()
Description of the license configuration.
|
String |
getLicenseConfigurationArn()
ARN of the license configuration requested.
|
String |
getLicenseConfigurationId()
Unique ID for the license configuration.
|
Long |
getLicenseCount()
Number of available licenses.
|
Boolean |
getLicenseCountHardLimit()
Sets the number of available licenses as a hard limit.
|
String |
getLicenseCountingType()
Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).
|
List<String> |
getLicenseRules()
List of flexible text strings designating license rules.
|
List<ManagedResourceSummary> |
getManagedResourceSummaryList()
List of summaries of managed resources.
|
String |
getName()
Name of the license configuration.
|
String |
getOwnerAccountId()
Owner account ID for the license configuration.
|
String |
getStatus()
License configuration status (active, etc.).
|
List<Tag> |
getTags()
List of tags attached to the license configuration.
|
int |
hashCode() |
Boolean |
isLicenseCountHardLimit()
Sets the number of available licenses as a hard limit.
|
void |
setConsumedLicenses(Long consumedLicenses)
Number of licenses assigned to resources.
|
void |
setConsumedLicenseSummaryList(Collection<ConsumedLicenseSummary> consumedLicenseSummaryList)
List of summaries for consumed licenses used by various resources.
|
void |
setDescription(String description)
Description of the license configuration.
|
void |
setLicenseConfigurationArn(String licenseConfigurationArn)
ARN of the license configuration requested.
|
void |
setLicenseConfigurationId(String licenseConfigurationId)
Unique ID for the license configuration.
|
void |
setLicenseCount(Long licenseCount)
Number of available licenses.
|
void |
setLicenseCountHardLimit(Boolean licenseCountHardLimit)
Sets the number of available licenses as a hard limit.
|
void |
setLicenseCountingType(String licenseCountingType)
Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).
|
void |
setLicenseRules(Collection<String> licenseRules)
List of flexible text strings designating license rules.
|
void |
setManagedResourceSummaryList(Collection<ManagedResourceSummary> managedResourceSummaryList)
List of summaries of managed resources.
|
void |
setName(String name)
Name of the license configuration.
|
void |
setOwnerAccountId(String ownerAccountId)
Owner account ID for the license configuration.
|
void |
setStatus(String status)
License configuration status (active, etc.).
|
void |
setTags(Collection<Tag> tags)
List of tags attached to the license configuration.
|
String |
toString()
Returns a string representation of this object.
|
GetLicenseConfigurationResult |
withConsumedLicenses(Long consumedLicenses)
Number of licenses assigned to resources.
|
GetLicenseConfigurationResult |
withConsumedLicenseSummaryList(Collection<ConsumedLicenseSummary> consumedLicenseSummaryList)
List of summaries for consumed licenses used by various resources.
|
GetLicenseConfigurationResult |
withConsumedLicenseSummaryList(ConsumedLicenseSummary... consumedLicenseSummaryList)
List of summaries for consumed licenses used by various resources.
|
GetLicenseConfigurationResult |
withDescription(String description)
Description of the license configuration.
|
GetLicenseConfigurationResult |
withLicenseConfigurationArn(String licenseConfigurationArn)
ARN of the license configuration requested.
|
GetLicenseConfigurationResult |
withLicenseConfigurationId(String licenseConfigurationId)
Unique ID for the license configuration.
|
GetLicenseConfigurationResult |
withLicenseCount(Long licenseCount)
Number of available licenses.
|
GetLicenseConfigurationResult |
withLicenseCountHardLimit(Boolean licenseCountHardLimit)
Sets the number of available licenses as a hard limit.
|
GetLicenseConfigurationResult |
withLicenseCountingType(LicenseCountingType licenseCountingType)
Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).
|
GetLicenseConfigurationResult |
withLicenseCountingType(String licenseCountingType)
Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).
|
GetLicenseConfigurationResult |
withLicenseRules(Collection<String> licenseRules)
List of flexible text strings designating license rules.
|
GetLicenseConfigurationResult |
withLicenseRules(String... licenseRules)
List of flexible text strings designating license rules.
|
GetLicenseConfigurationResult |
withManagedResourceSummaryList(Collection<ManagedResourceSummary> managedResourceSummaryList)
List of summaries of managed resources.
|
GetLicenseConfigurationResult |
withManagedResourceSummaryList(ManagedResourceSummary... managedResourceSummaryList)
List of summaries of managed resources.
|
GetLicenseConfigurationResult |
withName(String name)
Name of the license configuration.
|
GetLicenseConfigurationResult |
withOwnerAccountId(String ownerAccountId)
Owner account ID for the license configuration.
|
GetLicenseConfigurationResult |
withStatus(String status)
License configuration status (active, etc.).
|
GetLicenseConfigurationResult |
withTags(Collection<Tag> tags)
List of tags attached to the license configuration.
|
GetLicenseConfigurationResult |
withTags(Tag... tags)
List of tags attached to the license configuration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLicenseConfigurationId(String licenseConfigurationId)
Unique ID for the license configuration.
licenseConfigurationId
- Unique ID for the license configuration.public String getLicenseConfigurationId()
Unique ID for the license configuration.
public GetLicenseConfigurationResult withLicenseConfigurationId(String licenseConfigurationId)
Unique ID for the license configuration.
licenseConfigurationId
- Unique ID for the license configuration.public void setLicenseConfigurationArn(String licenseConfigurationArn)
ARN of the license configuration requested.
licenseConfigurationArn
- ARN of the license configuration requested.public String getLicenseConfigurationArn()
ARN of the license configuration requested.
public GetLicenseConfigurationResult withLicenseConfigurationArn(String licenseConfigurationArn)
ARN of the license configuration requested.
licenseConfigurationArn
- ARN of the license configuration requested.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 GetLicenseConfigurationResult 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 GetLicenseConfigurationResult withDescription(String description)
Description of the license configuration.
description
- Description of the license configuration.public void setLicenseCountingType(String licenseCountingType)
Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).
licenseCountingType
- Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).LicenseCountingType
public String getLicenseCountingType()
Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).
LicenseCountingType
public GetLicenseConfigurationResult withLicenseCountingType(String licenseCountingType)
Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).
licenseCountingType
- Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).LicenseCountingType
public GetLicenseConfigurationResult withLicenseCountingType(LicenseCountingType licenseCountingType)
Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).
licenseCountingType
- Dimension on which the licenses are counted (for example, instances, cores, sockets, or VCPUs).LicenseCountingType
public List<String> getLicenseRules()
List of flexible text strings designating license rules.
public void setLicenseRules(Collection<String> licenseRules)
List of flexible text strings designating license rules.
licenseRules
- List of flexible text strings designating license rules.public GetLicenseConfigurationResult withLicenseRules(String... licenseRules)
List of flexible text strings designating license 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
- List of flexible text strings designating license rules.public GetLicenseConfigurationResult withLicenseRules(Collection<String> licenseRules)
List of flexible text strings designating license rules.
licenseRules
- List of flexible text strings designating license rules.public void setLicenseCount(Long licenseCount)
Number of available licenses.
licenseCount
- Number of available licenses.public Long getLicenseCount()
Number of available licenses.
public GetLicenseConfigurationResult withLicenseCount(Long licenseCount)
Number of available licenses.
licenseCount
- Number of available licenses.public void setLicenseCountHardLimit(Boolean licenseCountHardLimit)
Sets the number of available licenses as a hard limit.
licenseCountHardLimit
- Sets the number of available licenses as a hard limit.public Boolean getLicenseCountHardLimit()
Sets the number of available licenses as a hard limit.
public GetLicenseConfigurationResult withLicenseCountHardLimit(Boolean licenseCountHardLimit)
Sets the number of available licenses as a hard limit.
licenseCountHardLimit
- Sets the number of available licenses as a hard limit.public Boolean isLicenseCountHardLimit()
Sets the number of available licenses as a hard limit.
public void setConsumedLicenses(Long consumedLicenses)
Number of licenses assigned to resources.
consumedLicenses
- Number of licenses assigned to resources.public Long getConsumedLicenses()
Number of licenses assigned to resources.
public GetLicenseConfigurationResult withConsumedLicenses(Long consumedLicenses)
Number of licenses assigned to resources.
consumedLicenses
- Number of licenses assigned to resources.public void setStatus(String status)
License configuration status (active, etc.).
status
- License configuration status (active, etc.).public String getStatus()
License configuration status (active, etc.).
public GetLicenseConfigurationResult withStatus(String status)
License configuration status (active, etc.).
status
- License configuration status (active, etc.).public void setOwnerAccountId(String ownerAccountId)
Owner account ID for the license configuration.
ownerAccountId
- Owner account ID for the license configuration.public String getOwnerAccountId()
Owner account ID for the license configuration.
public GetLicenseConfigurationResult withOwnerAccountId(String ownerAccountId)
Owner account ID for the license configuration.
ownerAccountId
- Owner account ID for the license configuration.public List<ConsumedLicenseSummary> getConsumedLicenseSummaryList()
List of summaries for consumed licenses used by various resources.
public void setConsumedLicenseSummaryList(Collection<ConsumedLicenseSummary> consumedLicenseSummaryList)
List of summaries for consumed licenses used by various resources.
consumedLicenseSummaryList
- List of summaries for consumed licenses used by various resources.public GetLicenseConfigurationResult withConsumedLicenseSummaryList(ConsumedLicenseSummary... consumedLicenseSummaryList)
List of summaries for consumed licenses used by various resources.
NOTE: This method appends the values to the existing list (if any). Use
setConsumedLicenseSummaryList(java.util.Collection)
or
withConsumedLicenseSummaryList(java.util.Collection)
if you want to override the existing values.
consumedLicenseSummaryList
- List of summaries for consumed licenses used by various resources.public GetLicenseConfigurationResult withConsumedLicenseSummaryList(Collection<ConsumedLicenseSummary> consumedLicenseSummaryList)
List of summaries for consumed licenses used by various resources.
consumedLicenseSummaryList
- List of summaries for consumed licenses used by various resources.public List<ManagedResourceSummary> getManagedResourceSummaryList()
List of summaries of managed resources.
public void setManagedResourceSummaryList(Collection<ManagedResourceSummary> managedResourceSummaryList)
List of summaries of managed resources.
managedResourceSummaryList
- List of summaries of managed resources.public GetLicenseConfigurationResult withManagedResourceSummaryList(ManagedResourceSummary... managedResourceSummaryList)
List of summaries of managed resources.
NOTE: This method appends the values to the existing list (if any). Use
setManagedResourceSummaryList(java.util.Collection)
or
withManagedResourceSummaryList(java.util.Collection)
if you want to override the existing values.
managedResourceSummaryList
- List of summaries of managed resources.public GetLicenseConfigurationResult withManagedResourceSummaryList(Collection<ManagedResourceSummary> managedResourceSummaryList)
List of summaries of managed resources.
managedResourceSummaryList
- List of summaries of managed resources.public List<Tag> getTags()
List of tags attached to the license configuration.
public void setTags(Collection<Tag> tags)
List of tags attached to the license configuration.
tags
- List of tags attached to the license configuration.public GetLicenseConfigurationResult withTags(Tag... tags)
List of tags attached 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
- List of tags attached to the license configuration.public GetLicenseConfigurationResult withTags(Collection<Tag> tags)
List of tags attached to the license configuration.
tags
- List of tags attached to the license configuration.public String toString()
toString
in class Object
Object.toString()
public GetLicenseConfigurationResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.