@Generated(value="software.amazon.awssdk:codegen") public final class GroupDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GroupDefinition.Builder,GroupDefinition>
Represents a group when you specify a group by criteria or in the response to a query with a specific grouping.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GroupDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GroupDefinition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The string that represents a key for a specified group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GroupDefinition.Builder> |
serializableBuilderClass() |
GroupDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
GroupDefinitionType |
type()
The string that represents the type of group.
|
String |
typeAsString()
The string that represents the type of group.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final GroupDefinitionType type()
The string that represents the type of group.
If the service returns an enum value that is not available in the current SDK version, type will return
GroupDefinitionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
GroupDefinitionTypepublic final String typeAsString()
The string that represents the type of group.
If the service returns an enum value that is not available in the current SDK version, type will return
GroupDefinitionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
GroupDefinitionTypepublic final String key()
The string that represents a key for a specified group.
public GroupDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GroupDefinition.Builder,GroupDefinition>public static GroupDefinition.Builder builder()
public static Class<? extends GroupDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.