@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLockedSnapshotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeLockedSnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLockedSnapshotsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to include in another request to get the next page of items.
|
List<LockedSnapshotsInfo> |
getSnapshots()
Information about the snapshots.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
void |
setSnapshots(Collection<LockedSnapshotsInfo> snapshots)
Information about the snapshots.
|
String |
toString()
Returns a string representation of this object.
|
DescribeLockedSnapshotsResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
DescribeLockedSnapshotsResult |
withSnapshots(Collection<LockedSnapshotsInfo> snapshots)
Information about the snapshots.
|
DescribeLockedSnapshotsResult |
withSnapshots(LockedSnapshotsInfo... snapshots)
Information about the snapshots.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LockedSnapshotsInfo> getSnapshots()
Information about the snapshots.
public void setSnapshots(Collection<LockedSnapshotsInfo> snapshots)
Information about the snapshots.
snapshots
- Information about the snapshots.public DescribeLockedSnapshotsResult withSnapshots(LockedSnapshotsInfo... 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 DescribeLockedSnapshotsResult withSnapshots(Collection<LockedSnapshotsInfo> snapshots)
Information about the snapshots.
snapshots
- Information about the snapshots.public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeLockedSnapshotsResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeLockedSnapshotsResult clone()