@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateGroupResult() |
Modifier and Type | Method and Description |
---|---|
CreateGroupResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateGroupResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateGroupResult |
clone() |
boolean |
equals(Object obj) |
Group |
getGroup()
The description of the resource group.
|
GroupConfiguration |
getGroupConfiguration()
The service configuration associated with the resource group.
|
ResourceQuery |
getResourceQuery()
The resource query associated with the group.
|
Map<String,String> |
getTags()
The tags associated with the group.
|
int |
hashCode() |
void |
setGroup(Group group)
The description of the resource group.
|
void |
setGroupConfiguration(GroupConfiguration groupConfiguration)
The service configuration associated with the resource group.
|
void |
setResourceQuery(ResourceQuery resourceQuery)
The resource query associated with the group.
|
void |
setTags(Map<String,String> tags)
The tags associated with the group.
|
String |
toString()
Returns a string representation of this object.
|
CreateGroupResult |
withGroup(Group group)
The description of the resource group.
|
CreateGroupResult |
withGroupConfiguration(GroupConfiguration groupConfiguration)
The service configuration associated with the resource group.
|
CreateGroupResult |
withResourceQuery(ResourceQuery resourceQuery)
The resource query associated with the group.
|
CreateGroupResult |
withTags(Map<String,String> tags)
The tags associated with the group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGroup(Group group)
The description of the resource group.
group
- The description of the resource group.public Group getGroup()
The description of the resource group.
public CreateGroupResult withGroup(Group group)
The description of the resource group.
group
- The description of the resource group.public void setResourceQuery(ResourceQuery resourceQuery)
The resource query associated with the group. For more information about resource queries, see Create a tag-based group in Resource Groups.
resourceQuery
- The resource query associated with the group. For more information about resource queries, see Create a tag-based group in Resource Groups.public ResourceQuery getResourceQuery()
The resource query associated with the group. For more information about resource queries, see Create a tag-based group in Resource Groups.
public CreateGroupResult withResourceQuery(ResourceQuery resourceQuery)
The resource query associated with the group. For more information about resource queries, see Create a tag-based group in Resource Groups.
resourceQuery
- The resource query associated with the group. For more information about resource queries, see Create a tag-based group in Resource Groups.public Map<String,String> getTags()
The tags associated with the group.
public void setTags(Map<String,String> tags)
The tags associated with the group.
tags
- The tags associated with the group.public CreateGroupResult withTags(Map<String,String> tags)
The tags associated with the group.
tags
- The tags associated with the group.public CreateGroupResult addTagsEntry(String key, String value)
public CreateGroupResult clearTagsEntries()
public void setGroupConfiguration(GroupConfiguration groupConfiguration)
The service configuration associated with the resource group. For details about the syntax of a service configuration, see Service configurations for Resource Groups.
groupConfiguration
- The service configuration associated with the resource group. For details about the syntax of a service
configuration, see Service
configurations for Resource Groups.public GroupConfiguration getGroupConfiguration()
The service configuration associated with the resource group. For details about the syntax of a service configuration, see Service configurations for Resource Groups.
public CreateGroupResult withGroupConfiguration(GroupConfiguration groupConfiguration)
The service configuration associated with the resource group. For details about the syntax of a service configuration, see Service configurations for Resource Groups.
groupConfiguration
- The service configuration associated with the resource group. For details about the syntax of a service
configuration, see Service
configurations for Resource Groups.public String toString()
toString
in class Object
Object.toString()
public CreateGroupResult clone()