@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedResourceSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary for a resource.
| Constructor and Description |
|---|
ManagedResourceSummary() |
| Modifier and Type | Method and Description |
|---|---|
ManagedResourceSummary |
clone() |
boolean |
equals(Object obj) |
Long |
getAssociationCount()
Number of resources associated with licenses.
|
String |
getResourceType()
Type of resource associated with a license (instance, host, or AMI).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAssociationCount(Long associationCount)
Number of resources associated with licenses.
|
void |
setResourceType(String resourceType)
Type of resource associated with a license (instance, host, or AMI).
|
String |
toString()
Returns a string representation of this object.
|
ManagedResourceSummary |
withAssociationCount(Long associationCount)
Number of resources associated with licenses.
|
ManagedResourceSummary |
withResourceType(ResourceType resourceType)
Type of resource associated with a license (instance, host, or AMI).
|
ManagedResourceSummary |
withResourceType(String resourceType)
Type of resource associated with a license (instance, host, or AMI).
|
public void setResourceType(String resourceType)
Type of resource associated with a license (instance, host, or AMI).
resourceType - Type of resource associated with a license (instance, host, or AMI).ResourceTypepublic String getResourceType()
Type of resource associated with a license (instance, host, or AMI).
ResourceTypepublic ManagedResourceSummary withResourceType(String resourceType)
Type of resource associated with a license (instance, host, or AMI).
resourceType - Type of resource associated with a license (instance, host, or AMI).ResourceTypepublic ManagedResourceSummary withResourceType(ResourceType resourceType)
Type of resource associated with a license (instance, host, or AMI).
resourceType - Type of resource associated with a license (instance, host, or AMI).ResourceTypepublic void setAssociationCount(Long associationCount)
Number of resources associated with licenses.
associationCount - Number of resources associated with licenses.public Long getAssociationCount()
Number of resources associated with licenses.
public ManagedResourceSummary withAssociationCount(Long associationCount)
Number of resources associated with licenses.
associationCount - Number of resources associated with licenses.public String toString()
toString in class ObjectObject.toString()public ManagedResourceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.