@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRecoveryGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRecoveryGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRecoveryGroupRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRecoveryGroupRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRecoveryGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCells()
A list of Cell arns
|
String |
getRecoveryGroupName()
The name of the RecoveryGroup to create
|
Map<String,String> |
getTags() |
int |
hashCode() |
void |
setCells(Collection<String> cells)
A list of Cell arns
|
void |
setRecoveryGroupName(String recoveryGroupName)
The name of the RecoveryGroup to create
|
void |
setTags(Map<String,String> tags) |
String |
toString()
Returns a string representation of this object.
|
CreateRecoveryGroupRequest |
withCells(Collection<String> cells)
A list of Cell arns
|
CreateRecoveryGroupRequest |
withCells(String... cells)
A list of Cell arns
|
CreateRecoveryGroupRequest |
withRecoveryGroupName(String recoveryGroupName)
The name of the RecoveryGroup to create
|
CreateRecoveryGroupRequest |
withTags(Map<String,String> tags) |
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 setCells(Collection<String> cells)
cells
- A list of Cell arnspublic CreateRecoveryGroupRequest withCells(String... cells)
NOTE: This method appends the values to the existing list (if any). Use
setCells(java.util.Collection)
or withCells(java.util.Collection)
if you want to override the
existing values.
cells
- A list of Cell arnspublic CreateRecoveryGroupRequest withCells(Collection<String> cells)
cells
- A list of Cell arnspublic void setRecoveryGroupName(String recoveryGroupName)
recoveryGroupName
- The name of the RecoveryGroup to createpublic String getRecoveryGroupName()
public CreateRecoveryGroupRequest withRecoveryGroupName(String recoveryGroupName)
recoveryGroupName
- The name of the RecoveryGroup to createpublic CreateRecoveryGroupRequest withTags(Map<String,String> tags)
tags
- public CreateRecoveryGroupRequest addTagsEntry(String key, String value)
public CreateRecoveryGroupRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateRecoveryGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()