@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 the resource.
|
String |
getResourceType()
Resource type of the resource consuming a license.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConsumedLicenses(Long consumedLicenses)
Number of licenses consumed by the resource.
|
void |
setResourceType(String resourceType)
Resource type of the resource consuming a license.
|
String |
toString()
Returns a string representation of this object.
|
ConsumedLicenseSummary |
withConsumedLicenses(Long consumedLicenses)
Number of licenses consumed by the resource.
|
ConsumedLicenseSummary |
withResourceType(ResourceType resourceType)
Resource type of the resource consuming a license.
|
ConsumedLicenseSummary |
withResourceType(String resourceType)
Resource type of the resource consuming a license.
|
public void setResourceType(String resourceType)
Resource type of the resource consuming a license.
resourceType
- Resource type of the resource consuming a license.ResourceType
public String getResourceType()
Resource type of the resource consuming a license.
ResourceType
public ConsumedLicenseSummary withResourceType(String resourceType)
Resource type of the resource consuming a license.
resourceType
- Resource type of the resource consuming a license.ResourceType
public ConsumedLicenseSummary withResourceType(ResourceType resourceType)
Resource type of the resource consuming a license.
resourceType
- Resource type of the resource consuming a license.ResourceType
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 ConsumedLicenseSummary 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 ConsumedLicenseSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.