@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Group extends Object implements Serializable, Cloneable, StructuredPojo
A resource group that contains Amazon Web Services resources. You can assign resources to the group by associating either of the following elements with the group:
ResourceQuery - Use a resource query to specify a set of tag keys and values. All resources in the same Amazon Web Services Region and Amazon Web Services account that have those keys with the same values are included in the group. You can add a resource query when you create the group, or later by using the PutGroupConfiguration operation.
GroupConfiguration - Use a service configuration to associate the group with an Amazon Web Services service. The configuration specifies which resource types can be included in the group.
Constructor and Description |
---|
Group() |
Modifier and Type | Method and Description |
---|---|
Group |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the resource group.
|
String |
getGroupArn()
The ARN of the resource group.
|
String |
getName()
The name of the resource group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description of the resource group.
|
void |
setGroupArn(String groupArn)
The ARN of the resource group.
|
void |
setName(String name)
The name of the resource group.
|
String |
toString()
Returns a string representation of this object.
|
Group |
withDescription(String description)
The description of the resource group.
|
Group |
withGroupArn(String groupArn)
The ARN of the resource group.
|
Group |
withName(String name)
The name of the resource group.
|
public void setGroupArn(String groupArn)
The ARN of the resource group.
groupArn
- The ARN of the resource group.public String getGroupArn()
The ARN of the resource group.
public Group withGroupArn(String groupArn)
The ARN of the resource group.
groupArn
- The ARN of the resource group.public void setName(String name)
The name of the resource group.
name
- The name of the resource group.public String getName()
The name of the resource group.
public Group withName(String name)
The name of the resource group.
name
- The name of the resource group.public void setDescription(String description)
The description of the resource group.
description
- The description of the resource group.public String getDescription()
The description of the resource group.
public Group withDescription(String description)
The description of the resource group.
description
- The description of the resource group.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.