@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LicenseConfigurationUsage extends Object implements Serializable, Cloneable, StructuredPojo
Contains details of the usage of each resource from the license pool.
Constructor and Description |
---|
LicenseConfigurationUsage() |
Modifier and Type | Method and Description |
---|---|
LicenseConfigurationUsage |
clone() |
boolean |
equals(Object obj) |
Date |
getAssociationTime()
Time when the license configuration was initially associated with a resource.
|
Long |
getConsumedLicenses()
Number of licenses consumed out of the total provisioned in the license configuration.
|
String |
getResourceArn()
ARN of the resource associated with a license configuration.
|
String |
getResourceOwnerId()
ID of the account that owns a resource that is associated with the license configuration.
|
String |
getResourceStatus()
Status of a resource associated with the license configuration.
|
String |
getResourceType()
Type of resource associated with athe license configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationTime(Date associationTime)
Time when the license configuration was initially associated with a resource.
|
void |
setConsumedLicenses(Long consumedLicenses)
Number of licenses consumed out of the total provisioned in the license configuration.
|
void |
setResourceArn(String resourceArn)
ARN of the resource associated with a license configuration.
|
void |
setResourceOwnerId(String resourceOwnerId)
ID of the account that owns a resource that is associated with the license configuration.
|
void |
setResourceStatus(String resourceStatus)
Status of a resource associated with the license configuration.
|
void |
setResourceType(String resourceType)
Type of resource associated with athe license configuration.
|
String |
toString()
Returns a string representation of this object.
|
LicenseConfigurationUsage |
withAssociationTime(Date associationTime)
Time when the license configuration was initially associated with a resource.
|
LicenseConfigurationUsage |
withConsumedLicenses(Long consumedLicenses)
Number of licenses consumed out of the total provisioned in the license configuration.
|
LicenseConfigurationUsage |
withResourceArn(String resourceArn)
ARN of the resource associated with a license configuration.
|
LicenseConfigurationUsage |
withResourceOwnerId(String resourceOwnerId)
ID of the account that owns a resource that is associated with the license configuration.
|
LicenseConfigurationUsage |
withResourceStatus(String resourceStatus)
Status of a resource associated with the license configuration.
|
LicenseConfigurationUsage |
withResourceType(ResourceType resourceType)
Type of resource associated with athe license configuration.
|
LicenseConfigurationUsage |
withResourceType(String resourceType)
Type of resource associated with athe license configuration.
|
public void setResourceArn(String resourceArn)
ARN of the resource associated with a license configuration.
resourceArn
- ARN of the resource associated with a license configuration.public String getResourceArn()
ARN of the resource associated with a license configuration.
public LicenseConfigurationUsage withResourceArn(String resourceArn)
ARN of the resource associated with a license configuration.
resourceArn
- ARN of the resource associated with a license configuration.public void setResourceType(String resourceType)
Type of resource associated with athe license configuration.
resourceType
- Type of resource associated with athe license configuration.ResourceType
public String getResourceType()
Type of resource associated with athe license configuration.
ResourceType
public LicenseConfigurationUsage withResourceType(String resourceType)
Type of resource associated with athe license configuration.
resourceType
- Type of resource associated with athe license configuration.ResourceType
public LicenseConfigurationUsage withResourceType(ResourceType resourceType)
Type of resource associated with athe license configuration.
resourceType
- Type of resource associated with athe license configuration.ResourceType
public void setResourceStatus(String resourceStatus)
Status of a resource associated with the license configuration.
resourceStatus
- Status of a resource associated with the license configuration.public String getResourceStatus()
Status of a resource associated with the license configuration.
public LicenseConfigurationUsage withResourceStatus(String resourceStatus)
Status of a resource associated with the license configuration.
resourceStatus
- Status of a resource associated with the license configuration.public void setResourceOwnerId(String resourceOwnerId)
ID of the account that owns a resource that is associated with the license configuration.
resourceOwnerId
- ID of the account that owns a resource that is associated with the license configuration.public String getResourceOwnerId()
ID of the account that owns a resource that is associated with the license configuration.
public LicenseConfigurationUsage withResourceOwnerId(String resourceOwnerId)
ID of the account that owns a resource that is associated with the license configuration.
resourceOwnerId
- ID of the account that owns a resource that is associated with the license configuration.public void setAssociationTime(Date associationTime)
Time when the license configuration was initially associated with a resource.
associationTime
- Time when the license configuration was initially associated with a resource.public Date getAssociationTime()
Time when the license configuration was initially associated with a resource.
public LicenseConfigurationUsage withAssociationTime(Date associationTime)
Time when the license configuration was initially associated with a resource.
associationTime
- Time when the license configuration was initially associated with a resource.public void setConsumedLicenses(Long consumedLicenses)
Number of licenses consumed out of the total provisioned in the license configuration.
consumedLicenses
- Number of licenses consumed out of the total provisioned in the license configuration.public Long getConsumedLicenses()
Number of licenses consumed out of the total provisioned in the license configuration.
public LicenseConfigurationUsage withConsumedLicenses(Long consumedLicenses)
Number of licenses consumed out of the total provisioned in the license configuration.
consumedLicenses
- Number of licenses consumed out of the total provisioned in the license configuration.public String toString()
toString
in class Object
Object.toString()
public LicenseConfigurationUsage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.