@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCellResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCellResult() |
Modifier and Type | Method and Description |
---|---|
GetCellResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetCellResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetCellResult |
clone() |
boolean |
equals(Object obj) |
String |
getCellArn()
The arn for the Cell
|
String |
getCellName()
The name of the Cell
|
List<String> |
getCells()
A list of Cell arns
|
List<String> |
getParentReadinessScopes()
A list of Cell ARNs and/or RecoveryGroup ARNs
|
Map<String,String> |
getTags() |
int |
hashCode() |
void |
setCellArn(String cellArn)
The 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)
A list of Cell ARNs and/or RecoveryGroup ARNs
|
void |
setTags(Map<String,String> tags) |
String |
toString()
Returns a string representation of this object.
|
GetCellResult |
withCellArn(String cellArn)
The arn for the Cell
|
GetCellResult |
withCellName(String cellName)
The name of the Cell
|
GetCellResult |
withCells(Collection<String> cells)
A list of Cell arns
|
GetCellResult |
withCells(String... cells)
A list of Cell arns
|
GetCellResult |
withParentReadinessScopes(Collection<String> parentReadinessScopes)
A list of Cell ARNs and/or RecoveryGroup ARNs
|
GetCellResult |
withParentReadinessScopes(String... parentReadinessScopes)
A list of Cell ARNs and/or RecoveryGroup ARNs
|
GetCellResult |
withTags(Map<String,String> tags) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCellArn(String cellArn)
cellArn
- The arn for the Cellpublic String getCellArn()
public GetCellResult withCellArn(String cellArn)
cellArn
- The arn for the Cellpublic void setCellName(String cellName)
cellName
- The name of the Cellpublic String getCellName()
public GetCellResult withCellName(String cellName)
cellName
- The name of the Cellpublic void setCells(Collection<String> cells)
cells
- A list of Cell arnspublic GetCellResult 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 GetCellResult withCells(Collection<String> cells)
cells
- A list of Cell arnspublic List<String> getParentReadinessScopes()
public void setParentReadinessScopes(Collection<String> parentReadinessScopes)
parentReadinessScopes
- A list of Cell ARNs and/or RecoveryGroup ARNspublic GetCellResult withParentReadinessScopes(String... parentReadinessScopes)
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
- A list of Cell ARNs and/or RecoveryGroup ARNspublic GetCellResult withParentReadinessScopes(Collection<String> parentReadinessScopes)
parentReadinessScopes
- A list of Cell ARNs and/or RecoveryGroup ARNspublic GetCellResult withTags(Map<String,String> tags)
tags
- public GetCellResult addTagsEntry(String key, String value)
public GetCellResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetCellResult clone()