public class CreateResourceGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateResourceGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateResourceGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<ResourceGroupTag> |
getResourceGroupTags()
A collection of keys and an array of possible values,
'[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'
.
|
int |
hashCode() |
void |
setResourceGroupTags(Collection<ResourceGroupTag> resourceGroupTags)
A collection of keys and an array of possible values,
'[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'
.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateResourceGroupRequest |
withResourceGroupTags(Collection<ResourceGroupTag> resourceGroupTags)
A collection of keys and an array of possible values,
'[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'
.
|
CreateResourceGroupRequest |
withResourceGroupTags(ResourceGroupTag... resourceGroupTags)
A collection of keys and an array of possible values,
'[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'
.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<ResourceGroupTag> getResourceGroupTags()
A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]' .
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
public void setResourceGroupTags(Collection<ResourceGroupTag> resourceGroupTags)
A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]' .
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
resourceGroupTags - A collection of keys and an array of possible values,
'[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
public CreateResourceGroupRequest withResourceGroupTags(ResourceGroupTag... resourceGroupTags)
A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]' .
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
NOTE: This method appends the values to the existing list (if
any). Use setResourceGroupTags(java.util.Collection) or
withResourceGroupTags(java.util.Collection) if you want to
override the existing values.
resourceGroupTags - A collection of keys and an array of possible values,
'[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
public CreateResourceGroupRequest withResourceGroupTags(Collection<ResourceGroupTag> resourceGroupTags)
A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]' .
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
resourceGroupTags - A collection of keys and an array of possible values,
'[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
public String toString()
toString in class ObjectObject.toString()public CreateResourceGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.