Class GroupedResourceCount
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.GroupedResourceCount
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GroupedResourceCount.Builder,GroupedResourceCount>
@Generated("software.amazon.awssdk:codegen") public final class GroupedResourceCount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GroupedResourceCount.Builder,GroupedResourceCount>
The count of resources that are grouped by the group name.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGroupedResourceCount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupedResourceCount.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupName()The name of the group that can be region, account ID, or resource type.inthashCode()LongresourceCount()The number of resources in the group.List<SdkField<?>>sdkFields()static Class<? extends GroupedResourceCount.Builder>serializableBuilderClass()GroupedResourceCount.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
groupName
public final 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.- Returns:
- 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.
-
resourceCount
public final Long resourceCount()
The number of resources in the group.
- Returns:
- The number of resources in the group.
-
toBuilder
public GroupedResourceCount.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GroupedResourceCount.Builder,GroupedResourceCount>
-
builder
public static GroupedResourceCount.Builder builder()
-
serializableBuilderClass
public static Class<? extends GroupedResourceCount.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-