@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
GroupDefinitionType |
type()
The string that represents the type of group.
|
String |
typeAsString()
The string that represents the type of group.
|
copy
public 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()
.
GroupDefinitionType
public 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()
.
GroupDefinitionType
public String key()
The string that represents a key for a specified group.
public GroupDefinition.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GroupDefinition.Builder,GroupDefinition>
public static GroupDefinition.Builder builder()
public static Class<? extends GroupDefinition.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.