@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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"]}]'.
|
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 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 Object
Object.toString()
public CreateResourceGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()