@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 groupGroupKey
public String getGroupKey()
The key associated with this group
GroupKey
public Counts withGroupKey(String groupKey)
The key associated with this group
groupKey
- The key associated with this groupGroupKey
public Counts withGroupKey(GroupKey groupKey)
The key associated with this group
groupKey
- The key associated with this groupGroupKey
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.