@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListImagesInRecycleBinRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ListImagesInRecycleBinRequest>
NOOP
Constructor and Description |
---|
ListImagesInRecycleBinRequest() |
Modifier and Type | Method and Description |
---|---|
ListImagesInRecycleBinRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ListImagesInRecycleBinRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getImageIds()
The IDs of the AMIs to list.
|
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setImageIds(Collection<String> imageIds)
The IDs of the AMIs to list.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
ListImagesInRecycleBinRequest |
withImageIds(Collection<String> imageIds)
The IDs of the AMIs to list.
|
ListImagesInRecycleBinRequest |
withImageIds(String... imageIds)
The IDs of the AMIs to list.
|
ListImagesInRecycleBinRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
ListImagesInRecycleBinRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
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 List<String> getImageIds()
The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the Recycle Bin. You can specify up to 20 IDs in a single request.
public void setImageIds(Collection<String> imageIds)
The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the Recycle Bin. You can specify up to 20 IDs in a single request.
imageIds
- The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the Recycle Bin. You
can specify up to 20 IDs in a single request.public ListImagesInRecycleBinRequest withImageIds(String... imageIds)
The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the Recycle Bin. You can specify up to 20 IDs in a single request.
NOTE: This method appends the values to the existing list (if any). Use
setImageIds(java.util.Collection)
or withImageIds(java.util.Collection)
if you want to override
the existing values.
imageIds
- The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the Recycle Bin. You
can specify up to 20 IDs in a single request.public ListImagesInRecycleBinRequest withImageIds(Collection<String> imageIds)
The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the Recycle Bin. You can specify up to 20 IDs in a single request.
imageIds
- The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the Recycle Bin. You
can specify up to 20 IDs in a single request.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 ListImagesInRecycleBinRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public 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.
If you do not specify a value for MaxResults, the request returns 1,000 items per page by default. For more information, see Pagination.
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.
If you do not specify a value for MaxResults, the request returns 1,000 items per page by default. For more information, see Pagination.
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.
If you do not specify a value for MaxResults, the request returns 1,000 items per page by default. For more information, see Pagination.
nextToken
value.
If you do not specify a value for MaxResults, the request returns 1,000 items per page by default. For more information, see Pagination.
public ListImagesInRecycleBinRequest 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.
If you do not specify a value for MaxResults, the request returns 1,000 items per page by default. For more information, see Pagination.
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.
If you do not specify a value for MaxResults, the request returns 1,000 items per page by default. For more information, see Pagination.
public Request<ListImagesInRecycleBinRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ListImagesInRecycleBinRequest>
public String toString()
toString
in class Object
Object.toString()
public ListImagesInRecycleBinRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()