@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConsumedLicenseSummary extends Object implements Serializable, Cloneable, StructuredPojo
Details about license consumption.
| Constructor and Description |
|---|
ConsumedLicenseSummary() |
| Modifier and Type | Method and Description |
|---|---|
ConsumedLicenseSummary |
clone() |
boolean |
equals(Object obj) |
Long |
getConsumedLicenses()
Number of licenses consumed by a resource.
|
String |
getResourceType()
Resource type of the resource consuming a license (instance, host, or AMI).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConsumedLicenses(Long consumedLicenses)
Number of licenses consumed by a resource.
|
void |
setResourceType(String resourceType)
Resource type of the resource consuming a license (instance, host, or AMI).
|
String |
toString()
Returns a string representation of this object.
|
ConsumedLicenseSummary |
withConsumedLicenses(Long consumedLicenses)
Number of licenses consumed by a resource.
|
ConsumedLicenseSummary |
withResourceType(ResourceType resourceType)
Resource type of the resource consuming a license (instance, host, or AMI).
|
ConsumedLicenseSummary |
withResourceType(String resourceType)
Resource type of the resource consuming a license (instance, host, or AMI).
|
public void setResourceType(String resourceType)
Resource type of the resource consuming a license (instance, host, or AMI).
resourceType - Resource type of the resource consuming a license (instance, host, or AMI).ResourceTypepublic String getResourceType()
Resource type of the resource consuming a license (instance, host, or AMI).
ResourceTypepublic ConsumedLicenseSummary withResourceType(String resourceType)
Resource type of the resource consuming a license (instance, host, or AMI).
resourceType - Resource type of the resource consuming a license (instance, host, or AMI).ResourceTypepublic ConsumedLicenseSummary withResourceType(ResourceType resourceType)
Resource type of the resource consuming a license (instance, host, or AMI).
resourceType - Resource type of the resource consuming a license (instance, host, or AMI).ResourceTypepublic void setConsumedLicenses(Long consumedLicenses)
Number of licenses consumed by a resource.
consumedLicenses - Number of licenses consumed by a resource.public Long getConsumedLicenses()
Number of licenses consumed by a resource.
public ConsumedLicenseSummary withConsumedLicenses(Long consumedLicenses)
Number of licenses consumed by a resource.
consumedLicenses - Number of licenses consumed by a resource.public String toString()
toString in class ObjectObject.toString()public ConsumedLicenseSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.