@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupQuery extends Object implements Serializable, Cloneable, StructuredPojo
A mapping of a query attached to a resource group that determines the Amazon Web Services resources that are members of the group.
| Constructor and Description | 
|---|
| GroupQuery() | 
| Modifier and Type | Method and Description | 
|---|---|
| GroupQuery | clone() | 
| boolean | equals(Object obj) | 
| String | getGroupName()
 The name of the resource group that is associated with the specified resource query. | 
| ResourceQuery | getResourceQuery()
 The resource query that determines which Amazon Web Services resources are members of the associated resource
 group. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setGroupName(String groupName)
 The name of the resource group that is associated with the specified resource query. | 
| void | setResourceQuery(ResourceQuery resourceQuery)
 The resource query that determines which Amazon Web Services resources are members of the associated resource
 group. | 
| String | toString()Returns a string representation of this object. | 
| GroupQuery | withGroupName(String groupName)
 The name of the resource group that is associated with the specified resource query. | 
| GroupQuery | withResourceQuery(ResourceQuery resourceQuery)
 The resource query that determines which Amazon Web Services resources are members of the associated resource
 group. | 
public void setGroupName(String groupName)
The name of the resource group that is associated with the specified resource query.
groupName - The name of the resource group that is associated with the specified resource query.public String getGroupName()
The name of the resource group that is associated with the specified resource query.
public GroupQuery withGroupName(String groupName)
The name of the resource group that is associated with the specified resource query.
groupName - The name of the resource group that is associated with the specified resource query.public void setResourceQuery(ResourceQuery resourceQuery)
The resource query that determines which Amazon Web Services resources are members of the associated resource group.
resourceQuery - The resource query that determines which Amazon Web Services resources are members of the associated
        resource group.public ResourceQuery getResourceQuery()
The resource query that determines which Amazon Web Services resources are members of the associated resource group.
public GroupQuery withResourceQuery(ResourceQuery resourceQuery)
The resource query that determines which Amazon Web Services resources are members of the associated resource group.
resourceQuery - The resource query that determines which Amazon Web Services resources are members of the associated
        resource group.public String toString()
toString in class ObjectObject.toString()public GroupQuery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.