@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 Cell arns
|
String |
getRecoveryGroupArn()
The arn for the RecoveryGroup
|
String |
getRecoveryGroupName()
The name of the RecoveryGroup
|
Map<String,String> |
getTags() |
int |
hashCode() |
void |
setCells(Collection<String> cells)
A list of Cell arns
|
void |
setRecoveryGroupArn(String recoveryGroupArn)
The arn for the RecoveryGroup
|
void |
setRecoveryGroupName(String recoveryGroupName)
The name of the RecoveryGroup
|
void |
setTags(Map<String,String> tags) |
String |
toString()
Returns a string representation of this object.
|
CreateRecoveryGroupResult |
withCells(Collection<String> cells)
A list of Cell arns
|
CreateRecoveryGroupResult |
withCells(String... cells)
A list of Cell arns
|
CreateRecoveryGroupResult |
withRecoveryGroupArn(String recoveryGroupArn)
The arn for the RecoveryGroup
|
CreateRecoveryGroupResult |
withRecoveryGroupName(String recoveryGroupName)
The name of the RecoveryGroup
|
CreateRecoveryGroupResult |
withTags(Map<String,String> tags) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCells(Collection<String> cells)
cells
- A list of Cell arnspublic CreateRecoveryGroupResult 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 CreateRecoveryGroupResult withCells(Collection<String> cells)
cells
- A list of Cell arnspublic void setRecoveryGroupArn(String recoveryGroupArn)
recoveryGroupArn
- The arn for the RecoveryGrouppublic String getRecoveryGroupArn()
public CreateRecoveryGroupResult withRecoveryGroupArn(String recoveryGroupArn)
recoveryGroupArn
- The arn for the RecoveryGrouppublic void setRecoveryGroupName(String recoveryGroupName)
recoveryGroupName
- The name of the RecoveryGrouppublic String getRecoveryGroupName()
public CreateRecoveryGroupResult withRecoveryGroupName(String recoveryGroupName)
recoveryGroupName
- The name of the RecoveryGrouppublic CreateRecoveryGroupResult withTags(Map<String,String> tags)
tags
- public CreateRecoveryGroupResult addTagsEntry(String key, String value)
public CreateRecoveryGroupResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateRecoveryGroupResult clone()