@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Counts extends Object implements Serializable, Cloneable, StructuredPojo
a structure that contains information on the count of resources within a group.
| Constructor and Description |
|---|
Counts() |
| Modifier and Type | Method and Description |
|---|---|
Counts |
clone() |
boolean |
equals(Object obj) |
Long |
getCount()
The number of resources.
|
String |
getGroupKey()
The key associated with this group
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCount(Long count)
The number of resources.
|
void |
setGroupKey(String groupKey)
The key associated with this group
|
String |
toString()
Returns a string representation of this object.
|
Counts |
withCount(Long count)
The number of resources.
|
Counts |
withGroupKey(GroupKey groupKey)
The key associated with this group
|
Counts |
withGroupKey(String groupKey)
The key associated with this group
|
public void setCount(Long count)
The number of resources.
count - The number of resources.public Long getCount()
The number of resources.
public Counts withCount(Long count)
The number of resources.
count - The number of resources.public void setGroupKey(String groupKey)
The key associated with this group
groupKey - The key associated with this groupGroupKeypublic String getGroupKey()
The key associated with this group
GroupKeypublic Counts withGroupKey(String groupKey)
The key associated with this group
groupKey - The key associated with this groupGroupKeypublic Counts withGroupKey(GroupKey groupKey)
The key associated with this group
groupKey - The key associated with this groupGroupKeypublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.