@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LicenseConfigurationUsage extends Object implements Serializable, Cloneable, StructuredPojo
Details about the usage of a resource associated with a license configuration.
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 the resource.
|
Long |
getConsumedLicenses()
Number of licenses consumed by the resource.
|
String |
getResourceArn()
Amazon Resource Name (ARN) of the resource.
|
String |
getResourceOwnerId()
ID of the account that owns the resource.
|
String |
getResourceStatus()
Status of the resource.
|
String |
getResourceType()
Type of resource.
|
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 the resource.
|
void |
setConsumedLicenses(Long consumedLicenses)
Number of licenses consumed by the resource.
|
void |
setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
|
void |
setResourceOwnerId(String resourceOwnerId)
ID of the account that owns the resource.
|
void |
setResourceStatus(String resourceStatus)
Status of the resource.
|
void |
setResourceType(String resourceType)
Type of resource.
|
String |
toString()
Returns a string representation of this object.
|
LicenseConfigurationUsage |
withAssociationTime(Date associationTime)
Time when the license configuration was initially associated with the resource.
|
LicenseConfigurationUsage |
withConsumedLicenses(Long consumedLicenses)
Number of licenses consumed by the resource.
|
LicenseConfigurationUsage |
withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
|
LicenseConfigurationUsage |
withResourceOwnerId(String resourceOwnerId)
ID of the account that owns the resource.
|
LicenseConfigurationUsage |
withResourceStatus(String resourceStatus)
Status of the resource.
|
LicenseConfigurationUsage |
withResourceType(ResourceType resourceType)
Type of resource.
|
LicenseConfigurationUsage |
withResourceType(String resourceType)
Type of resource.
|
public void setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
resourceArn
- Amazon Resource Name (ARN) of the resource.public String getResourceArn()
Amazon Resource Name (ARN) of the resource.
public LicenseConfigurationUsage withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
resourceArn
- Amazon Resource Name (ARN) of the resource.public void setResourceType(String resourceType)
Type of resource.
resourceType
- Type of resource.ResourceType
public String getResourceType()
Type of resource.
ResourceType
public LicenseConfigurationUsage withResourceType(String resourceType)
Type of resource.
resourceType
- Type of resource.ResourceType
public LicenseConfigurationUsage withResourceType(ResourceType resourceType)
Type of resource.
resourceType
- Type of resource.ResourceType
public void setResourceStatus(String resourceStatus)
Status of the resource.
resourceStatus
- Status of the resource.public String getResourceStatus()
Status of the resource.
public LicenseConfigurationUsage withResourceStatus(String resourceStatus)
Status of the resource.
resourceStatus
- Status of the resource.public void setResourceOwnerId(String resourceOwnerId)
ID of the account that owns the resource.
resourceOwnerId
- ID of the account that owns the resource.public String getResourceOwnerId()
ID of the account that owns the resource.
public LicenseConfigurationUsage withResourceOwnerId(String resourceOwnerId)
ID of the account that owns the resource.
resourceOwnerId
- ID of the account that owns the resource.public void setAssociationTime(Date associationTime)
Time when the license configuration was initially associated with the resource.
associationTime
- Time when the license configuration was initially associated with the resource.public Date getAssociationTime()
Time when the license configuration was initially associated with the resource.
public LicenseConfigurationUsage withAssociationTime(Date associationTime)
Time when the license configuration was initially associated with the resource.
associationTime
- Time when the license configuration was initially associated with the resource.public void setConsumedLicenses(Long consumedLicenses)
Number of licenses consumed by the resource.
consumedLicenses
- Number of licenses consumed by the resource.public Long getConsumedLicenses()
Number of licenses consumed by the resource.
public LicenseConfigurationUsage withConsumedLicenses(Long consumedLicenses)
Number of licenses consumed by the resource.
consumedLicenses
- Number of licenses consumed by the resource.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.