@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCellResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateCellResult() |
Modifier and Type | Method and Description |
---|---|
CreateCellResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateCellResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateCellResult |
clone() |
boolean |
equals(Object obj) |
String |
getCellArn()
The Amazon Resource Name (ARN) for the cell.
|
String |
getCellName()
The name of the cell.
|
List<String> |
getCells()
A list of cell ARNs.
|
List<String> |
getParentReadinessScopes()
The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN.
|
Map<String,String> |
getTags()
Tags on the resources.
|
int |
hashCode() |
void |
setCellArn(String cellArn)
The Amazon Resource Name (ARN) for the cell.
|
void |
setCellName(String cellName)
The name of the cell.
|
void |
setCells(Collection<String> cells)
A list of cell ARNs.
|
void |
setParentReadinessScopes(Collection<String> parentReadinessScopes)
The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN.
|
void |
setTags(Map<String,String> tags)
Tags on the resources.
|
String |
toString()
Returns a string representation of this object.
|
CreateCellResult |
withCellArn(String cellArn)
The Amazon Resource Name (ARN) for the cell.
|
CreateCellResult |
withCellName(String cellName)
The name of the cell.
|
CreateCellResult |
withCells(Collection<String> cells)
A list of cell ARNs.
|
CreateCellResult |
withCells(String... cells)
A list of cell ARNs.
|
CreateCellResult |
withParentReadinessScopes(Collection<String> parentReadinessScopes)
The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN.
|
CreateCellResult |
withParentReadinessScopes(String... parentReadinessScopes)
The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN.
|
CreateCellResult |
withTags(Map<String,String> tags)
Tags on the resources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCellArn(String cellArn)
The Amazon Resource Name (ARN) for the cell.
cellArn
- The Amazon Resource Name (ARN) for the cell.public String getCellArn()
The Amazon Resource Name (ARN) for the cell.
public CreateCellResult withCellArn(String cellArn)
The Amazon Resource Name (ARN) for the cell.
cellArn
- The Amazon Resource Name (ARN) for the cell.public void setCellName(String cellName)
The name of the cell.
cellName
- The name of the cell.public String getCellName()
The name of the cell.
public CreateCellResult withCellName(String cellName)
The name of the cell.
cellName
- The name of the cell.public void setCells(Collection<String> cells)
A list of cell ARNs.
cells
- A list of cell ARNs.public CreateCellResult withCells(String... cells)
A list of cell 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 cell ARNs.public CreateCellResult withCells(Collection<String> cells)
A list of cell ARNs.
cells
- A list of cell ARNs.public List<String> getParentReadinessScopes()
The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element.
public void setParentReadinessScopes(Collection<String> parentReadinessScopes)
The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element.
parentReadinessScopes
- The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN.
This is a list but currently can have only one element.public CreateCellResult withParentReadinessScopes(String... parentReadinessScopes)
The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element.
NOTE: This method appends the values to the existing list (if any). Use
setParentReadinessScopes(java.util.Collection)
or
withParentReadinessScopes(java.util.Collection)
if you want to override the existing values.
parentReadinessScopes
- The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN.
This is a list but currently can have only one element.public CreateCellResult withParentReadinessScopes(Collection<String> parentReadinessScopes)
The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element.
parentReadinessScopes
- The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN.
This is a list but currently can have only one element.public void setTags(Map<String,String> tags)
Tags on the resources.
tags
- Tags on the resources.public CreateCellResult withTags(Map<String,String> tags)
Tags on the resources.
tags
- Tags on the resources.public CreateCellResult addTagsEntry(String key, String value)
public CreateCellResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateCellResult clone()