@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListImagesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListImagesRequest() |
Modifier and Type | Method and Description |
---|---|
ListImagesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getCreationTimeAfter()
A filter that returns only images created on or after the specified time.
|
Date |
getCreationTimeBefore()
A filter that returns only images created on or before the specified time.
|
Date |
getLastModifiedTimeAfter()
A filter that returns only images modified on or after the specified time.
|
Date |
getLastModifiedTimeBefore()
A filter that returns only images modified on or before the specified time.
|
Integer |
getMaxResults()
The maximum number of images to return in the response.
|
String |
getNameContains()
A filter that returns only images whose name contains the specified string.
|
String |
getNextToken()
If the previous call to
ListImages didn't return the full set of images, the call returns a token
for getting the next set of images. |
String |
getSortBy()
The property used to sort results.
|
String |
getSortOrder()
The sort order.
|
int |
hashCode() |
void |
setCreationTimeAfter(Date creationTimeAfter)
A filter that returns only images created on or after the specified time.
|
void |
setCreationTimeBefore(Date creationTimeBefore)
A filter that returns only images created on or before the specified time.
|
void |
setLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only images modified on or after the specified time.
|
void |
setLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only images modified on or before the specified time.
|
void |
setMaxResults(Integer maxResults)
The maximum number of images to return in the response.
|
void |
setNameContains(String nameContains)
A filter that returns only images whose name contains the specified string.
|
void |
setNextToken(String nextToken)
If the previous call to
ListImages didn't return the full set of images, the call returns a token
for getting the next set of images. |
void |
setSortBy(String sortBy)
The property used to sort results.
|
void |
setSortOrder(String sortOrder)
The sort order.
|
String |
toString()
Returns a string representation of this object.
|
ListImagesRequest |
withCreationTimeAfter(Date creationTimeAfter)
A filter that returns only images created on or after the specified time.
|
ListImagesRequest |
withCreationTimeBefore(Date creationTimeBefore)
A filter that returns only images created on or before the specified time.
|
ListImagesRequest |
withLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only images modified on or after the specified time.
|
ListImagesRequest |
withLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only images modified on or before the specified time.
|
ListImagesRequest |
withMaxResults(Integer maxResults)
The maximum number of images to return in the response.
|
ListImagesRequest |
withNameContains(String nameContains)
A filter that returns only images whose name contains the specified string.
|
ListImagesRequest |
withNextToken(String nextToken)
If the previous call to
ListImages didn't return the full set of images, the call returns a token
for getting the next set of images. |
ListImagesRequest |
withSortBy(ImageSortBy sortBy)
The property used to sort results.
|
ListImagesRequest |
withSortBy(String sortBy)
The property used to sort results.
|
ListImagesRequest |
withSortOrder(ImageSortOrder sortOrder)
The sort order.
|
ListImagesRequest |
withSortOrder(String sortOrder)
The sort order.
|
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 setCreationTimeAfter(Date creationTimeAfter)
A filter that returns only images created on or after the specified time.
creationTimeAfter
- A filter that returns only images created on or after the specified time.public Date getCreationTimeAfter()
A filter that returns only images created on or after the specified time.
public ListImagesRequest withCreationTimeAfter(Date creationTimeAfter)
A filter that returns only images created on or after the specified time.
creationTimeAfter
- A filter that returns only images created on or after the specified time.public void setCreationTimeBefore(Date creationTimeBefore)
A filter that returns only images created on or before the specified time.
creationTimeBefore
- A filter that returns only images created on or before the specified time.public Date getCreationTimeBefore()
A filter that returns only images created on or before the specified time.
public ListImagesRequest withCreationTimeBefore(Date creationTimeBefore)
A filter that returns only images created on or before the specified time.
creationTimeBefore
- A filter that returns only images created on or before the specified time.public void setLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only images modified on or after the specified time.
lastModifiedTimeAfter
- A filter that returns only images modified on or after the specified time.public Date getLastModifiedTimeAfter()
A filter that returns only images modified on or after the specified time.
public ListImagesRequest withLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only images modified on or after the specified time.
lastModifiedTimeAfter
- A filter that returns only images modified on or after the specified time.public void setLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only images modified on or before the specified time.
lastModifiedTimeBefore
- A filter that returns only images modified on or before the specified time.public Date getLastModifiedTimeBefore()
A filter that returns only images modified on or before the specified time.
public ListImagesRequest withLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only images modified on or before the specified time.
lastModifiedTimeBefore
- A filter that returns only images modified on or before the specified time.public void setMaxResults(Integer maxResults)
The maximum number of images to return in the response. The default value is 10.
maxResults
- The maximum number of images to return in the response. The default value is 10.public Integer getMaxResults()
The maximum number of images to return in the response. The default value is 10.
public ListImagesRequest withMaxResults(Integer maxResults)
The maximum number of images to return in the response. The default value is 10.
maxResults
- The maximum number of images to return in the response. The default value is 10.public void setNameContains(String nameContains)
A filter that returns only images whose name contains the specified string.
nameContains
- A filter that returns only images whose name contains the specified string.public String getNameContains()
A filter that returns only images whose name contains the specified string.
public ListImagesRequest withNameContains(String nameContains)
A filter that returns only images whose name contains the specified string.
nameContains
- A filter that returns only images whose name contains the specified string.public void setNextToken(String nextToken)
If the previous call to ListImages
didn't return the full set of images, the call returns a token
for getting the next set of images.
nextToken
- If the previous call to ListImages
didn't return the full set of images, the call returns a
token for getting the next set of images.public String getNextToken()
If the previous call to ListImages
didn't return the full set of images, the call returns a token
for getting the next set of images.
ListImages
didn't return the full set of images, the call returns a
token for getting the next set of images.public ListImagesRequest withNextToken(String nextToken)
If the previous call to ListImages
didn't return the full set of images, the call returns a token
for getting the next set of images.
nextToken
- If the previous call to ListImages
didn't return the full set of images, the call returns a
token for getting the next set of images.public void setSortBy(String sortBy)
The property used to sort results. The default value is CREATION_TIME
.
sortBy
- The property used to sort results. The default value is CREATION_TIME
.ImageSortBy
public String getSortBy()
The property used to sort results. The default value is CREATION_TIME
.
CREATION_TIME
.ImageSortBy
public ListImagesRequest withSortBy(String sortBy)
The property used to sort results. The default value is CREATION_TIME
.
sortBy
- The property used to sort results. The default value is CREATION_TIME
.ImageSortBy
public ListImagesRequest withSortBy(ImageSortBy sortBy)
The property used to sort results. The default value is CREATION_TIME
.
sortBy
- The property used to sort results. The default value is CREATION_TIME
.ImageSortBy
public void setSortOrder(String sortOrder)
The sort order. The default value is DESCENDING
.
sortOrder
- The sort order. The default value is DESCENDING
.ImageSortOrder
public String getSortOrder()
The sort order. The default value is DESCENDING
.
DESCENDING
.ImageSortOrder
public ListImagesRequest withSortOrder(String sortOrder)
The sort order. The default value is DESCENDING
.
sortOrder
- The sort order. The default value is DESCENDING
.ImageSortOrder
public ListImagesRequest withSortOrder(ImageSortOrder sortOrder)
The sort order. The default value is DESCENDING
.
sortOrder
- The sort order. The default value is DESCENDING
.ImageSortOrder
public String toString()
toString
in class Object
Object.toString()
public ListImagesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()