@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()
The token to advance to the next page of results from your 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)
The token to advance to the next page of results from your request.
|
String |
toString()
Returns a string representation of this object.
|
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)
The token to advance to the next page of results from your request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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)
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 GetInstanceSnapshots
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 GetInstanceSnapshots
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 GetInstanceSnapshots
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 GetInstanceSnapshots
request and specify
the next page token using the pageToken
parameter.
public GetInstanceSnapshotsResult 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 GetInstanceSnapshots
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 GetInstanceSnapshots
request and specify the
next page token using the pageToken
parameter.
public String toString()
toString
in class Object
Object.toString()
public GetInstanceSnapshotsResult clone()