@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDiskSnapshotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDiskSnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
GetDiskSnapshotsResult |
clone() |
boolean |
equals(Object obj) |
List<DiskSnapshot> |
getDiskSnapshots()
An array of objects containing information about all block storage disk snapshots.
|
String |
getNextPageToken()
A token used for advancing to the next page of results from your GetDiskSnapshots request.
|
int |
hashCode() |
void |
setDiskSnapshots(Collection<DiskSnapshot> diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
|
void |
setNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your GetDiskSnapshots request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetDiskSnapshotsResult |
withDiskSnapshots(Collection<DiskSnapshot> diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
|
GetDiskSnapshotsResult |
withDiskSnapshots(DiskSnapshot... diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
|
GetDiskSnapshotsResult |
withNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your GetDiskSnapshots request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DiskSnapshot> getDiskSnapshots()
An array of objects containing information about all block storage disk snapshots.
public void setDiskSnapshots(Collection<DiskSnapshot> diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
diskSnapshots
- An array of objects containing information about all block storage disk snapshots.public GetDiskSnapshotsResult withDiskSnapshots(DiskSnapshot... diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
NOTE: This method appends the values to the existing list (if any). Use
setDiskSnapshots(java.util.Collection)
or withDiskSnapshots(java.util.Collection)
if you want
to override the existing values.
diskSnapshots
- An array of objects containing information about all block storage disk snapshots.public GetDiskSnapshotsResult withDiskSnapshots(Collection<DiskSnapshot> diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
diskSnapshots
- An array of objects containing information about all block storage disk snapshots.public void setNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your GetDiskSnapshots request.
nextPageToken
- A token used for advancing to the next page of results from your GetDiskSnapshots request.public String getNextPageToken()
A token used for advancing to the next page of results from your GetDiskSnapshots request.
public GetDiskSnapshotsResult withNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your GetDiskSnapshots request.
nextPageToken
- A token used for advancing to the next page of results from your GetDiskSnapshots request.public String toString()
toString
in class Object
Object.toString()
public GetDiskSnapshotsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.