@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRecoveryGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateRecoveryGroupResult() |
Modifier and Type | Method and Description |
---|---|
CreateRecoveryGroupResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRecoveryGroupResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRecoveryGroupResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCells()
A list of a cell's Amazon Resource Names (ARNs).
|
String |
getRecoveryGroupArn()
The Amazon Resource Name (ARN) for the recovery group.
|
String |
getRecoveryGroupName()
The name of the recovery group.
|
Map<String,String> |
getTags()
The tags associated with the recovery group.
|
int |
hashCode() |
void |
setCells(Collection<String> cells)
A list of a cell's Amazon Resource Names (ARNs).
|
void |
setRecoveryGroupArn(String recoveryGroupArn)
The Amazon Resource Name (ARN) for the recovery group.
|
void |
setRecoveryGroupName(String recoveryGroupName)
The name of the recovery group.
|
void |
setTags(Map<String,String> tags)
The tags associated with the recovery group.
|
String |
toString()
Returns a string representation of this object.
|
CreateRecoveryGroupResult |
withCells(Collection<String> cells)
A list of a cell's Amazon Resource Names (ARNs).
|
CreateRecoveryGroupResult |
withCells(String... cells)
A list of a cell's Amazon Resource Names (ARNs).
|
CreateRecoveryGroupResult |
withRecoveryGroupArn(String recoveryGroupArn)
The Amazon Resource Name (ARN) for the recovery group.
|
CreateRecoveryGroupResult |
withRecoveryGroupName(String recoveryGroupName)
The name of the recovery group.
|
CreateRecoveryGroupResult |
withTags(Map<String,String> tags)
The tags associated with the recovery group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getCells()
A list of a cell's Amazon Resource Names (ARNs).
public void setCells(Collection<String> cells)
A list of a cell's Amazon Resource Names (ARNs).
cells
- A list of a cell's Amazon Resource Names (ARNs).public CreateRecoveryGroupResult withCells(String... cells)
A list of a cell's Amazon Resource Names (ARNs).
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 a cell's Amazon Resource Names (ARNs).public CreateRecoveryGroupResult withCells(Collection<String> cells)
A list of a cell's Amazon Resource Names (ARNs).
cells
- A list of a cell's Amazon Resource Names (ARNs).public void setRecoveryGroupArn(String recoveryGroupArn)
The Amazon Resource Name (ARN) for the recovery group.
recoveryGroupArn
- The Amazon Resource Name (ARN) for the recovery group.public String getRecoveryGroupArn()
The Amazon Resource Name (ARN) for the recovery group.
public CreateRecoveryGroupResult withRecoveryGroupArn(String recoveryGroupArn)
The Amazon Resource Name (ARN) for the recovery group.
recoveryGroupArn
- The Amazon Resource Name (ARN) for the recovery group.public void setRecoveryGroupName(String recoveryGroupName)
The name of the recovery group.
recoveryGroupName
- The name of the recovery group.public String getRecoveryGroupName()
The name of the recovery group.
public CreateRecoveryGroupResult withRecoveryGroupName(String recoveryGroupName)
The name of the recovery group.
recoveryGroupName
- The name of the recovery group.public Map<String,String> getTags()
The tags associated with the recovery group.
public void setTags(Map<String,String> tags)
The tags associated with the recovery group.
tags
- The tags associated with the recovery group.public CreateRecoveryGroupResult withTags(Map<String,String> tags)
The tags associated with the recovery group.
tags
- The tags associated with the recovery group.public CreateRecoveryGroupResult addTagsEntry(String key, String value)
public CreateRecoveryGroupResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateRecoveryGroupResult clone()