@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) |
AutomatedDiscoveryInformation |
getAutomatedDiscoveryInformation()
Automated discovery information.
|
Long |
getConsumedLicenses()
Number of licenses assigned to resources.
|
List<ConsumedLicenseSummary> |
getConsumedLicenseSummaryList()
Summaries of the licenses consumed by resources.
|
String |
getDescription()
Description of the license configuration.
|
Boolean |
getDisassociateWhenNotFound()
When true, disassociates a resource when software is uninstalled.
|
String |
getLicenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
|
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 for which the licenses are counted.
|
List<String> |
getLicenseRules()
License rules.
|
List<ManagedResourceSummary> |
getManagedResourceSummaryList()
Summaries of the managed resources.
|
String |
getName()
Name of the license configuration.
|
String |
getOwnerAccountId()
Account ID of the owner of the license configuration.
|
List<ProductInformation> |
getProductInformationList()
Product information.
|
String |
getStatus()
License configuration status.
|
List<Tag> |
getTags()
Tags for the license configuration.
|
int |
hashCode() |
Boolean |
isDisassociateWhenNotFound()
When true, disassociates a resource when software is uninstalled.
|
Boolean |
isLicenseCountHardLimit()
Sets the number of available licenses as a hard limit.
|
void |
setAutomatedDiscoveryInformation(AutomatedDiscoveryInformation automatedDiscoveryInformation)
Automated discovery information.
|
void |
setConsumedLicenses(Long consumedLicenses)
Number of licenses assigned to resources.
|
void |
setConsumedLicenseSummaryList(Collection<ConsumedLicenseSummary> consumedLicenseSummaryList)
Summaries of the licenses consumed by resources.
|
void |
setDescription(String description)
Description of the license configuration.
|
void |
setDisassociateWhenNotFound(Boolean disassociateWhenNotFound)
When true, disassociates a resource when software is uninstalled.
|
void |
setLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
|
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 for which the licenses are counted.
|
void |
setLicenseRules(Collection<String> licenseRules)
License rules.
|
void |
setManagedResourceSummaryList(Collection<ManagedResourceSummary> managedResourceSummaryList)
Summaries of the managed resources.
|
void |
setName(String name)
Name of the license configuration.
|
void |
setOwnerAccountId(String ownerAccountId)
Account ID of the owner of the license configuration.
|
void |
setProductInformationList(Collection<ProductInformation> productInformationList)
Product information.
|
void |
setStatus(String status)
License configuration status.
|
void |
setTags(Collection<Tag> tags)
Tags for the license configuration.
|
String |
toString()
Returns a string representation of this object.
|
GetLicenseConfigurationResult |
withAutomatedDiscoveryInformation(AutomatedDiscoveryInformation automatedDiscoveryInformation)
Automated discovery information.
|
GetLicenseConfigurationResult |
withConsumedLicenses(Long consumedLicenses)
Number of licenses assigned to resources.
|
GetLicenseConfigurationResult |
withConsumedLicenseSummaryList(Collection<ConsumedLicenseSummary> consumedLicenseSummaryList)
Summaries of the licenses consumed by resources.
|
GetLicenseConfigurationResult |
withConsumedLicenseSummaryList(ConsumedLicenseSummary... consumedLicenseSummaryList)
Summaries of the licenses consumed by resources.
|
GetLicenseConfigurationResult |
withDescription(String description)
Description of the license configuration.
|
GetLicenseConfigurationResult |
withDisassociateWhenNotFound(Boolean disassociateWhenNotFound)
When true, disassociates a resource when software is uninstalled.
|
GetLicenseConfigurationResult |
withLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
|
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 for which the licenses are counted.
|
GetLicenseConfigurationResult |
withLicenseCountingType(String licenseCountingType)
Dimension for which the licenses are counted.
|
GetLicenseConfigurationResult |
withLicenseRules(Collection<String> licenseRules)
License rules.
|
GetLicenseConfigurationResult |
withLicenseRules(String... licenseRules)
License rules.
|
GetLicenseConfigurationResult |
withManagedResourceSummaryList(Collection<ManagedResourceSummary> managedResourceSummaryList)
Summaries of the managed resources.
|
GetLicenseConfigurationResult |
withManagedResourceSummaryList(ManagedResourceSummary... managedResourceSummaryList)
Summaries of the managed resources.
|
GetLicenseConfigurationResult |
withName(String name)
Name of the license configuration.
|
GetLicenseConfigurationResult |
withOwnerAccountId(String ownerAccountId)
Account ID of the owner of the license configuration.
|
GetLicenseConfigurationResult |
withProductInformationList(Collection<ProductInformation> productInformationList)
Product information.
|
GetLicenseConfigurationResult |
withProductInformationList(ProductInformation... productInformationList)
Product information.
|
GetLicenseConfigurationResult |
withStatus(String status)
License configuration status.
|
GetLicenseConfigurationResult |
withTags(Collection<Tag> tags)
Tags for the license configuration.
|
GetLicenseConfigurationResult |
withTags(Tag... tags)
Tags for 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)
Amazon Resource Name (ARN) of the license configuration.
licenseConfigurationArn
- Amazon Resource Name (ARN) of the license configuration.public String getLicenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
public GetLicenseConfigurationResult withLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
licenseConfigurationArn
- Amazon Resource Name (ARN) of the license configuration.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 for which the licenses are counted.
licenseCountingType
- Dimension for which the licenses are counted.LicenseCountingType
public String getLicenseCountingType()
Dimension for which the licenses are counted.
LicenseCountingType
public GetLicenseConfigurationResult withLicenseCountingType(String licenseCountingType)
Dimension for which the licenses are counted.
licenseCountingType
- Dimension for which the licenses are counted.LicenseCountingType
public GetLicenseConfigurationResult withLicenseCountingType(LicenseCountingType licenseCountingType)
Dimension for which the licenses are counted.
licenseCountingType
- Dimension for which the licenses are counted.LicenseCountingType
public void setLicenseRules(Collection<String> licenseRules)
License rules.
licenseRules
- License rules.public GetLicenseConfigurationResult withLicenseRules(String... licenseRules)
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
- License rules.public GetLicenseConfigurationResult withLicenseRules(Collection<String> licenseRules)
License rules.
licenseRules
- 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.
status
- License configuration status.public String getStatus()
License configuration status.
public GetLicenseConfigurationResult withStatus(String status)
License configuration status.
status
- License configuration status.public void setOwnerAccountId(String ownerAccountId)
Account ID of the owner of the license configuration.
ownerAccountId
- Account ID of the owner of the license configuration.public String getOwnerAccountId()
Account ID of the owner of the license configuration.
public GetLicenseConfigurationResult withOwnerAccountId(String ownerAccountId)
Account ID of the owner of the license configuration.
ownerAccountId
- Account ID of the owner of the license configuration.public List<ConsumedLicenseSummary> getConsumedLicenseSummaryList()
Summaries of the licenses consumed by resources.
public void setConsumedLicenseSummaryList(Collection<ConsumedLicenseSummary> consumedLicenseSummaryList)
Summaries of the licenses consumed by resources.
consumedLicenseSummaryList
- Summaries of the licenses consumed by resources.public GetLicenseConfigurationResult withConsumedLicenseSummaryList(ConsumedLicenseSummary... consumedLicenseSummaryList)
Summaries of the licenses consumed by 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
- Summaries of the licenses consumed by resources.public GetLicenseConfigurationResult withConsumedLicenseSummaryList(Collection<ConsumedLicenseSummary> consumedLicenseSummaryList)
Summaries of the licenses consumed by resources.
consumedLicenseSummaryList
- Summaries of the licenses consumed by resources.public List<ManagedResourceSummary> getManagedResourceSummaryList()
Summaries of the managed resources.
public void setManagedResourceSummaryList(Collection<ManagedResourceSummary> managedResourceSummaryList)
Summaries of the managed resources.
managedResourceSummaryList
- Summaries of the managed resources.public GetLicenseConfigurationResult withManagedResourceSummaryList(ManagedResourceSummary... managedResourceSummaryList)
Summaries of the 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
- Summaries of the managed resources.public GetLicenseConfigurationResult withManagedResourceSummaryList(Collection<ManagedResourceSummary> managedResourceSummaryList)
Summaries of the managed resources.
managedResourceSummaryList
- Summaries of the managed resources.public List<Tag> getTags()
Tags for the license configuration.
public void setTags(Collection<Tag> tags)
Tags for the license configuration.
tags
- Tags for the license configuration.public GetLicenseConfigurationResult withTags(Tag... tags)
Tags for 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 for the license configuration.public GetLicenseConfigurationResult withTags(Collection<Tag> tags)
Tags for the license configuration.
tags
- Tags for the license configuration.public List<ProductInformation> getProductInformationList()
Product information.
public void setProductInformationList(Collection<ProductInformation> productInformationList)
Product information.
productInformationList
- Product information.public GetLicenseConfigurationResult 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 GetLicenseConfigurationResult withProductInformationList(Collection<ProductInformation> productInformationList)
Product information.
productInformationList
- Product information.public void setAutomatedDiscoveryInformation(AutomatedDiscoveryInformation automatedDiscoveryInformation)
Automated discovery information.
automatedDiscoveryInformation
- Automated discovery information.public AutomatedDiscoveryInformation getAutomatedDiscoveryInformation()
Automated discovery information.
public GetLicenseConfigurationResult withAutomatedDiscoveryInformation(AutomatedDiscoveryInformation automatedDiscoveryInformation)
Automated discovery information.
automatedDiscoveryInformation
- Automated discovery information.public void setDisassociateWhenNotFound(Boolean disassociateWhenNotFound)
When true, disassociates a resource when software is uninstalled.
disassociateWhenNotFound
- When true, disassociates a resource when software is uninstalled.public Boolean getDisassociateWhenNotFound()
When true, disassociates a resource when software is uninstalled.
public GetLicenseConfigurationResult withDisassociateWhenNotFound(Boolean disassociateWhenNotFound)
When true, disassociates a resource when software is uninstalled.
disassociateWhenNotFound
- When true, disassociates a resource when software is uninstalled.public Boolean isDisassociateWhenNotFound()
When true, disassociates a resource when software is uninstalled.
public String toString()
toString
in class Object
Object.toString()
public GetLicenseConfigurationResult clone()