@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSnapshotsInRecycleBinResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSnapshotsInRecycleBinResult() |
Modifier and Type | Method and Description |
---|---|
ListSnapshotsInRecycleBinResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<SnapshotRecycleBinInfo> |
getSnapshots()
Information about the snapshots.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setSnapshots(Collection<SnapshotRecycleBinInfo> snapshots)
Information about the snapshots.
|
String |
toString()
Returns a string representation of this object.
|
ListSnapshotsInRecycleBinResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListSnapshotsInRecycleBinResult |
withSnapshots(Collection<SnapshotRecycleBinInfo> snapshots)
Information about the snapshots.
|
ListSnapshotsInRecycleBinResult |
withSnapshots(SnapshotRecycleBinInfo... snapshots)
Information about the snapshots.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SnapshotRecycleBinInfo> getSnapshots()
Information about the snapshots.
public void setSnapshots(Collection<SnapshotRecycleBinInfo> snapshots)
Information about the snapshots.
snapshots
- Information about the snapshots.public ListSnapshotsInRecycleBinResult withSnapshots(SnapshotRecycleBinInfo... snapshots)
Information about the snapshots.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshots(java.util.Collection)
or withSnapshots(java.util.Collection)
if you want to
override the existing values.
snapshots
- Information about the snapshots.public ListSnapshotsInRecycleBinResult withSnapshots(Collection<SnapshotRecycleBinInfo> snapshots)
Information about the snapshots.
snapshots
- Information about the snapshots.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public ListSnapshotsInRecycleBinResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public ListSnapshotsInRecycleBinResult clone()
Copyright © 2022. All rights reserved.