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