@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Represents a group when you specify a group by criteria, or in the response to a query with a specific grouping.
Constructor and Description |
---|
GroupDefinition() |
Modifier and Type | Method and Description |
---|---|
GroupDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The string that represents a key for a specified group.
|
String |
getType()
The string that represents the type of group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The string that represents a key for a specified group.
|
void |
setType(String type)
The string that represents the type of group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GroupDefinition |
withKey(String key)
The string that represents a key for a specified group.
|
GroupDefinition |
withType(GroupDefinitionType type)
The string that represents the type of group.
|
GroupDefinition |
withType(String type)
The string that represents the type of group.
|
public void setType(String type)
The string that represents the type of group.
type
- The string that represents the type of group.GroupDefinitionType
public String getType()
The string that represents the type of group.
GroupDefinitionType
public GroupDefinition withType(String type)
The string that represents the type of group.
type
- The string that represents the type of group.GroupDefinitionType
public GroupDefinition withType(GroupDefinitionType type)
The string that represents the type of group.
type
- The string that represents the type of group.GroupDefinitionType
public void setKey(String key)
The string that represents a key for a specified group.
key
- The string that represents a key for a specified group.public String getKey()
The string that represents a key for a specified group.
public GroupDefinition withKey(String key)
The string that represents a key for a specified group.
key
- The string that represents a key for a specified group.public String toString()
toString
in class Object
Object.toString()
public GroupDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.