@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeRecoverySnapshotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeRecoverySnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeRecoverySnapshotsResult |
clone() |
boolean |
equals(Object obj) |
List<RecoverySnapshot> |
getItems()
An array of Recovery Snapshots.
|
String |
getNextToken()
The token of the next Recovery Snapshot to retrieve.
|
int |
hashCode() |
void |
setItems(Collection<RecoverySnapshot> items)
An array of Recovery Snapshots.
|
void |
setNextToken(String nextToken)
The token of the next Recovery Snapshot to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
DescribeRecoverySnapshotsResult |
withItems(Collection<RecoverySnapshot> items)
An array of Recovery Snapshots.
|
DescribeRecoverySnapshotsResult |
withItems(RecoverySnapshot... items)
An array of Recovery Snapshots.
|
DescribeRecoverySnapshotsResult |
withNextToken(String nextToken)
The token of the next Recovery Snapshot to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RecoverySnapshot> getItems()
An array of Recovery Snapshots.
public void setItems(Collection<RecoverySnapshot> items)
An array of Recovery Snapshots.
items
- An array of Recovery Snapshots.public DescribeRecoverySnapshotsResult withItems(RecoverySnapshot... items)
An array of Recovery Snapshots.
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 Snapshots.public DescribeRecoverySnapshotsResult withItems(Collection<RecoverySnapshot> items)
An array of Recovery Snapshots.
items
- An array of Recovery Snapshots.public void setNextToken(String nextToken)
The token of the next Recovery Snapshot to retrieve.
nextToken
- The token of the next Recovery Snapshot to retrieve.public String getNextToken()
The token of the next Recovery Snapshot to retrieve.
public DescribeRecoverySnapshotsResult withNextToken(String nextToken)
The token of the next Recovery Snapshot to retrieve.
nextToken
- The token of the next Recovery Snapshot to retrieve.public String toString()
toString
in class Object
Object.toString()
public DescribeRecoverySnapshotsResult clone()