@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeImagesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeImagesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeImagesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getArns()
The ARNs of the public, private, and shared images to describe.
|
Integer |
getMaxResults()
The maximum size of each page of results.
|
List<String> |
getNames()
The names of the public or private images to describe.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
String |
getType()
The type of image (public, private, or shared) to describe.
|
int |
hashCode() |
void |
setArns(Collection<String> arns)
The ARNs of the public, private, and shared images to describe.
|
void |
setMaxResults(Integer maxResults)
The maximum size of each page of results.
|
void |
setNames(Collection<String> names)
The names of the public or private images to describe.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
void |
setType(String type)
The type of image (public, private, or shared) to describe.
|
String |
toString()
Returns a string representation of this object.
|
DescribeImagesRequest |
withArns(Collection<String> arns)
The ARNs of the public, private, and shared images to describe.
|
DescribeImagesRequest |
withArns(String... arns)
The ARNs of the public, private, and shared images to describe.
|
DescribeImagesRequest |
withMaxResults(Integer maxResults)
The maximum size of each page of results.
|
DescribeImagesRequest |
withNames(Collection<String> names)
The names of the public or private images to describe.
|
DescribeImagesRequest |
withNames(String... names)
The names of the public or private images to describe.
|
DescribeImagesRequest |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
DescribeImagesRequest |
withType(String type)
The type of image (public, private, or shared) to describe.
|
DescribeImagesRequest |
withType(VisibilityType type)
The type of image (public, private, or shared) to describe.
|
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> getNames()
The names of the public or private images to describe.
public void setNames(Collection<String> names)
The names of the public or private images to describe.
names
- The names of the public or private images to describe.public DescribeImagesRequest withNames(String... names)
The names of the public or private images to describe.
NOTE: This method appends the values to the existing list (if any). Use
setNames(java.util.Collection)
or withNames(java.util.Collection)
if you want to override the
existing values.
names
- The names of the public or private images to describe.public DescribeImagesRequest withNames(Collection<String> names)
The names of the public or private images to describe.
names
- The names of the public or private images to describe.public List<String> getArns()
The ARNs of the public, private, and shared images to describe.
public void setArns(Collection<String> arns)
The ARNs of the public, private, and shared images to describe.
arns
- The ARNs of the public, private, and shared images to describe.public DescribeImagesRequest withArns(String... arns)
The ARNs of the public, private, and shared images to describe.
NOTE: This method appends the values to the existing list (if any). Use
setArns(java.util.Collection)
or withArns(java.util.Collection)
if you want to override the
existing values.
arns
- The ARNs of the public, private, and shared images to describe.public DescribeImagesRequest withArns(Collection<String> arns)
The ARNs of the public, private, and shared images to describe.
arns
- The ARNs of the public, private, and shared images to describe.public void setType(String type)
The type of image (public, private, or shared) to describe.
type
- The type of image (public, private, or shared) to describe.VisibilityType
public String getType()
The type of image (public, private, or shared) to describe.
VisibilityType
public DescribeImagesRequest withType(String type)
The type of image (public, private, or shared) to describe.
type
- The type of image (public, private, or shared) to describe.VisibilityType
public DescribeImagesRequest withType(VisibilityType type)
The type of image (public, private, or shared) to describe.
type
- The type of image (public, private, or shared) to describe.VisibilityType
public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
public DescribeImagesRequest withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public void setMaxResults(Integer maxResults)
The maximum size of each page of results.
maxResults
- The maximum size of each page of results.public Integer getMaxResults()
The maximum size of each page of results.
public DescribeImagesRequest withMaxResults(Integer maxResults)
The maximum size of each page of results.
maxResults
- The maximum size of each page of results.public String toString()
toString
in class Object
Object.toString()
public DescribeImagesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()