@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ListSnapshotsInRecycleBinRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getMaxResults()
The maximum number of items to return for this request.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
List<String> |
getSnapshotIds()
The IDs of the snapshots to list.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
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 items to return for this request.
|
ListSnapshotsInRecycleBinRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
ListSnapshotsInRecycleBinRequest |
withSnapshotIds(Collection<String> snapshotIds)
The IDs of the snapshots to list.
|
ListSnapshotsInRecycleBinRequest |
withSnapshotIds(String... snapshotIds)
The IDs of the snapshots to list.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
public ListSnapshotsInRecycleBinRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public void setNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public String getNextToken()
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
public ListSnapshotsInRecycleBinRequest withNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.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 Object
Object.toString()
public ListSnapshotsInRecycleBinRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()