@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()
The token to advance to the next page of results from your request.
|
int |
hashCode() |
void |
setDiskSnapshots(Collection<DiskSnapshot> diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
|
void |
setNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
|
String |
toString()
Returns a string representation of this object.
|
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)
The token to advance to the next page of results from your request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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)
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDiskSnapshots request and specify the next page
token using the pageToken parameter.
nextPageToken - The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDiskSnapshots request and specify the
next page token using the pageToken parameter.
public String getNextPageToken()
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDiskSnapshots request and specify the next page
token using the pageToken parameter.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDiskSnapshots request and specify the
next page token using the pageToken parameter.
public GetDiskSnapshotsResult withNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDiskSnapshots request and specify the next page
token using the pageToken parameter.
nextPageToken - The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDiskSnapshots request and specify the
next page token using the pageToken parameter.
public String toString()
toString in class ObjectObject.toString()public GetDiskSnapshotsResult clone()