@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupedResourceCount extends Object implements Serializable, Cloneable, StructuredPojo
The count of resources that are grouped by the group name.
Constructor and Description |
---|
GroupedResourceCount() |
Modifier and Type | Method and Description |
---|---|
GroupedResourceCount |
clone() |
boolean |
equals(Object obj) |
String |
getGroupName()
The name of the group that can be region, account ID, or resource type.
|
Long |
getResourceCount()
The number of resources in the group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroupName(String groupName)
The name of the group that can be region, account ID, or resource type.
|
void |
setResourceCount(Long resourceCount)
The number of resources in the group.
|
String |
toString()
Returns a string representation of this object.
|
GroupedResourceCount |
withGroupName(String groupName)
The name of the group that can be region, account ID, or resource type.
|
GroupedResourceCount |
withResourceCount(Long resourceCount)
The number of resources in the group.
|
public void setGroupName(String groupName)
The name of the group that can be region, account ID, or resource type. For example, region1, region2 if the
region was chosen as GroupByKey
.
groupName
- The name of the group that can be region, account ID, or resource type. For example, region1, region2 if
the region was chosen as GroupByKey
.public String getGroupName()
The name of the group that can be region, account ID, or resource type. For example, region1, region2 if the
region was chosen as GroupByKey
.
GroupByKey
.public GroupedResourceCount withGroupName(String groupName)
The name of the group that can be region, account ID, or resource type. For example, region1, region2 if the
region was chosen as GroupByKey
.
groupName
- The name of the group that can be region, account ID, or resource type. For example, region1, region2 if
the region was chosen as GroupByKey
.public void setResourceCount(Long resourceCount)
The number of resources in the group.
resourceCount
- The number of resources in the group.public Long getResourceCount()
The number of resources in the group.
public GroupedResourceCount withResourceCount(Long resourceCount)
The number of resources in the group.
resourceCount
- The number of resources in the group.public String toString()
toString
in class Object
Object.toString()
public GroupedResourceCount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.