@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSnapshotsInRecycleBinRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ListSnapshotsInRecycleBinRequest>
NOOP| Constructor and Description |
|---|
ListSnapshotsInRecycleBinRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListSnapshotsInRecycleBinRequest |
clone() |
boolean |
equals(Object obj) |
Request<ListSnapshotsInRecycleBinRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
List<String> |
getSnapshotIds()
The IDs of the snapshots to list.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setSnapshotIds(Collection<String> snapshotIds)
The IDs of the snapshots to list.
|
String |
toString()
Returns a string representation of this object.
|
ListSnapshotsInRecycleBinRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
ListSnapshotsInRecycleBinRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
ListSnapshotsInRecycleBinRequest |
withSnapshotIds(Collection<String> snapshotIds)
The IDs of the snapshots to list.
|
ListSnapshotsInRecycleBinRequest |
withSnapshotIds(String... snapshotIds)
The IDs of the snapshots to list.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken value.
maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken value.
nextToken value.public ListSnapshotsInRecycleBinRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken value.
maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken value.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListSnapshotsInRecycleBinRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public List<String> getSnapshotIds()
The IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle Bin.
public void setSnapshotIds(Collection<String> snapshotIds)
The IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle Bin.
snapshotIds - The IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle
Bin.public ListSnapshotsInRecycleBinRequest withSnapshotIds(String... snapshotIds)
The IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle Bin.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshotIds(java.util.Collection) or withSnapshotIds(java.util.Collection) if you want to
override the existing values.
snapshotIds - The IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle
Bin.public ListSnapshotsInRecycleBinRequest withSnapshotIds(Collection<String> snapshotIds)
The IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle Bin.
snapshotIds - The IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle
Bin.public Request<ListSnapshotsInRecycleBinRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ListSnapshotsInRecycleBinRequest>public String toString()
toString in class ObjectObject.toString()public ListSnapshotsInRecycleBinRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.