@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) |
Boolean |
getByName()
Requests a list of images with a specific recipe name.
|
List<Filter> |
getFilters()
Use the following filters to streamline results:
|
Boolean |
getIncludeDeprecated()
Includes deprecated images in the response list.
|
Integer |
getMaxResults()
The maximum items to return in a request.
|
String |
getNextToken()
A token to specify where to start paginating.
|
String |
getOwner()
The owner defines which images you want to list.
|
int |
hashCode() |
Boolean |
isByName()
Requests a list of images with a specific recipe name.
|
Boolean |
isIncludeDeprecated()
Includes deprecated images in the response list.
|
void |
setByName(Boolean byName)
Requests a list of images with a specific recipe name.
|
void |
setFilters(Collection<Filter> filters)
Use the following filters to streamline results:
|
void |
setIncludeDeprecated(Boolean includeDeprecated)
Includes deprecated images in the response list.
|
void |
setMaxResults(Integer maxResults)
The maximum items to return in a request.
|
void |
setNextToken(String nextToken)
A token to specify where to start paginating.
|
void |
setOwner(String owner)
The owner defines which images you want to list.
|
String |
toString()
Returns a string representation of this object.
|
ListImagesRequest |
withByName(Boolean byName)
Requests a list of images with a specific recipe name.
|
ListImagesRequest |
withFilters(Collection<Filter> filters)
Use the following filters to streamline results:
|
ListImagesRequest |
withFilters(Filter... filters)
Use the following filters to streamline results:
|
ListImagesRequest |
withIncludeDeprecated(Boolean includeDeprecated)
Includes deprecated images in the response list.
|
ListImagesRequest |
withMaxResults(Integer maxResults)
The maximum items to return in a request.
|
ListImagesRequest |
withNextToken(String nextToken)
A token to specify where to start paginating.
|
ListImagesRequest |
withOwner(Ownership owner)
The owner defines which images you want to list.
|
ListImagesRequest |
withOwner(String owner)
The owner defines which images you want 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 setOwner(String owner)
The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.
owner
- The owner defines which images you want to list. By default, this request will only show images owned by
your account. You can use this field to specify if you want to view images owned by yourself, by Amazon,
or those images that have been shared with you by other customers.Ownership
public String getOwner()
The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.
Ownership
public ListImagesRequest withOwner(String owner)
The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.
owner
- The owner defines which images you want to list. By default, this request will only show images owned by
your account. You can use this field to specify if you want to view images owned by yourself, by Amazon,
or those images that have been shared with you by other customers.Ownership
public ListImagesRequest withOwner(Ownership owner)
The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.
owner
- The owner defines which images you want to list. By default, this request will only show images owned by
your account. You can use this field to specify if you want to view images owned by yourself, by Amazon,
or those images that have been shared with you by other customers.Ownership
public List<Filter> getFilters()
Use the following filters to streamline results:
name
osVersion
platform
type
version
name
osVersion
platform
type
version
public void setFilters(Collection<Filter> filters)
Use the following filters to streamline results:
name
osVersion
platform
type
version
filters
- Use the following filters to streamline results:
name
osVersion
platform
type
version
public ListImagesRequest withFilters(Filter... filters)
Use the following filters to streamline results:
name
osVersion
platform
type
version
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Use the following filters to streamline results:
name
osVersion
platform
type
version
public ListImagesRequest withFilters(Collection<Filter> filters)
Use the following filters to streamline results:
name
osVersion
platform
type
version
filters
- Use the following filters to streamline results:
name
osVersion
platform
type
version
public void setByName(Boolean byName)
Requests a list of images with a specific recipe name.
byName
- Requests a list of images with a specific recipe name.public Boolean getByName()
Requests a list of images with a specific recipe name.
public ListImagesRequest withByName(Boolean byName)
Requests a list of images with a specific recipe name.
byName
- Requests a list of images with a specific recipe name.public Boolean isByName()
Requests a list of images with a specific recipe name.
public void setMaxResults(Integer maxResults)
The maximum items to return in a request.
maxResults
- The maximum items to return in a request.public Integer getMaxResults()
The maximum items to return in a request.
public ListImagesRequest withMaxResults(Integer maxResults)
The maximum items to return in a request.
maxResults
- The maximum items to return in a request.public void setNextToken(String nextToken)
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the nextToken from a previously truncated response.public String getNextToken()
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
public ListImagesRequest withNextToken(String nextToken)
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the nextToken from a previously truncated response.public void setIncludeDeprecated(Boolean includeDeprecated)
Includes deprecated images in the response list.
includeDeprecated
- Includes deprecated images in the response list.public Boolean getIncludeDeprecated()
Includes deprecated images in the response list.
public ListImagesRequest withIncludeDeprecated(Boolean includeDeprecated)
Includes deprecated images in the response list.
includeDeprecated
- Includes deprecated images in the response list.public Boolean isIncludeDeprecated()
Includes deprecated images in the response list.
public String toString()
toString
in class Object
Object.toString()
public ListImagesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()