@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupResourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GroupResourcesRequest() |
Modifier and Type | Method and Description |
---|---|
GroupResourcesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGroup()
The name or the ARN of the resource group to add resources to.
|
List<String> |
getResourceArns()
The list of ARNs of the resources to be added to the group.
|
int |
hashCode() |
void |
setGroup(String group)
The name or the ARN of the resource group to add resources to.
|
void |
setResourceArns(Collection<String> resourceArns)
The list of ARNs of the resources to be added to the group.
|
String |
toString()
Returns a string representation of this object.
|
GroupResourcesRequest |
withGroup(String group)
The name or the ARN of the resource group to add resources to.
|
GroupResourcesRequest |
withResourceArns(Collection<String> resourceArns)
The list of ARNs of the resources to be added to the group.
|
GroupResourcesRequest |
withResourceArns(String... resourceArns)
The list of ARNs of the resources to be added to the group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGroup(String group)
The name or the ARN of the resource group to add resources to.
group
- The name or the ARN of the resource group to add resources to.public String getGroup()
The name or the ARN of the resource group to add resources to.
public GroupResourcesRequest withGroup(String group)
The name or the ARN of the resource group to add resources to.
group
- The name or the ARN of the resource group to add resources to.public List<String> getResourceArns()
The list of ARNs of the resources to be added to the group.
public void setResourceArns(Collection<String> resourceArns)
The list of ARNs of the resources to be added to the group.
resourceArns
- The list of ARNs of the resources to be added to the group.public GroupResourcesRequest withResourceArns(String... resourceArns)
The list of ARNs of the resources to be added to the group.
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection)
or withResourceArns(java.util.Collection)
if you want to
override the existing values.
resourceArns
- The list of ARNs of the resources to be added to the group.public GroupResourcesRequest withResourceArns(Collection<String> resourceArns)
The list of ARNs of the resources to be added to the group.
resourceArns
- The list of ARNs of the resources to be added to the group.public String toString()
toString
in class Object
Object.toString()
public GroupResourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()