@Generated(value="software.amazon.awssdk:codegen") public class GroupDefinition extends Object implements StructuredPojo, 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
copypublic 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 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 String key()
The string that represents a key for a specified group.
public GroupDefinition.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GroupDefinition.Builder,GroupDefinition>public static GroupDefinition.Builder builder()
public static Class<? extends GroupDefinition.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.