@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.
resourceQuery
- The resource query associated with the group.public ResourceQuery getResourceQuery()
The resource query associated with the group.
public CreateGroupResult withResourceQuery(ResourceQuery resourceQuery)
The resource query associated with the group.
resourceQuery
- The resource query associated with the group.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. AWS Resource Groups supports adding service configurations for the following resource group types:
AWS::EC2::CapacityReservationPool
- Amazon EC2 capacity reservation pools. For more information, see
Working with capacity reservation groups in the EC2 Users Guide.
groupConfiguration
- The service configuration associated with the resource group. AWS Resource Groups supports adding service
configurations for the following resource group types:
AWS::EC2::CapacityReservationPool
- Amazon EC2 capacity reservation pools. For more
information, see Working with capacity reservation groups in the EC2 Users Guide.
public GroupConfiguration getGroupConfiguration()
The service configuration associated with the resource group. AWS Resource Groups supports adding service configurations for the following resource group types:
AWS::EC2::CapacityReservationPool
- Amazon EC2 capacity reservation pools. For more information, see
Working with capacity reservation groups in the EC2 Users Guide.
AWS::EC2::CapacityReservationPool
- Amazon EC2 capacity reservation pools. For more
information, see Working with capacity reservation groups in the EC2 Users Guide.
public CreateGroupResult withGroupConfiguration(GroupConfiguration groupConfiguration)
The service configuration associated with the resource group. AWS Resource Groups supports adding service configurations for the following resource group types:
AWS::EC2::CapacityReservationPool
- Amazon EC2 capacity reservation pools. For more information, see
Working with capacity reservation groups in the EC2 Users Guide.
groupConfiguration
- The service configuration associated with the resource group. AWS Resource Groups supports adding service
configurations for the following resource group types:
AWS::EC2::CapacityReservationPool
- Amazon EC2 capacity reservation pools. For more
information, see Working with capacity reservation groups in the EC2 Users Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateGroupResult clone()