@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeRecoveryInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeRecoveryInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeRecoveryInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<RecoveryInstance> |
getItems()
An array of Recovery Instances.
|
String |
getNextToken()
The token of the next Recovery Instance to retrieve.
|
int |
hashCode() |
void |
setItems(Collection<RecoveryInstance> items)
An array of Recovery Instances.
|
void |
setNextToken(String nextToken)
The token of the next Recovery Instance to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
DescribeRecoveryInstancesResult |
withItems(Collection<RecoveryInstance> items)
An array of Recovery Instances.
|
DescribeRecoveryInstancesResult |
withItems(RecoveryInstance... items)
An array of Recovery Instances.
|
DescribeRecoveryInstancesResult |
withNextToken(String nextToken)
The token of the next Recovery Instance to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RecoveryInstance> getItems()
An array of Recovery Instances.
public void setItems(Collection<RecoveryInstance> items)
An array of Recovery Instances.
items
- An array of Recovery Instances.public DescribeRecoveryInstancesResult withItems(RecoveryInstance... items)
An array of Recovery Instances.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- An array of Recovery Instances.public DescribeRecoveryInstancesResult withItems(Collection<RecoveryInstance> items)
An array of Recovery Instances.
items
- An array of Recovery Instances.public void setNextToken(String nextToken)
The token of the next Recovery Instance to retrieve.
nextToken
- The token of the next Recovery Instance to retrieve.public String getNextToken()
The token of the next Recovery Instance to retrieve.
public DescribeRecoveryInstancesResult withNextToken(String nextToken)
The token of the next Recovery Instance to retrieve.
nextToken
- The token of the next Recovery Instance to retrieve.public String toString()
toString
in class Object
Object.toString()
public DescribeRecoveryInstancesResult clone()