@Generated(value="software.amazon.awssdk:codegen") public final class Counts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Counts.Builder,Counts>
a structure that contains information on the count of resources within a group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Counts.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Counts.Builder |
builder() |
Long |
count()
The number of resources.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GroupKey |
groupKey()
The key associated with this group
|
String |
groupKeyAsString()
The key associated with this group
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Counts.Builder> |
serializableBuilderClass() |
Counts.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long count()
The number of resources.
public final GroupKey groupKey()
The key associated with this group
If the service returns an enum value that is not available in the current SDK version, groupKey will
return GroupKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
groupKeyAsString().
GroupKeypublic final String groupKeyAsString()
The key associated with this group
If the service returns an enum value that is not available in the current SDK version, groupKey will
return GroupKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
groupKeyAsString().
GroupKeypublic Counts.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Counts.Builder,Counts>public static Counts.Builder builder()
public static Class<? extends Counts.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.