Class ListImagesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ecr.model.ListImagesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListImagesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListImagesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListImagesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetMaxResults()The maximum number of image results returned byListImagesin paginated output.StringgetNextToken()ThenextTokenvalue returned from a previous paginatedListImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter.StringgetRegistryId()The AWS account ID associated with the registry that contains the repository to list images in.StringgetRepositoryName()The repository whose image IDs are to be listed.inthashCode()voidsetMaxResults(Integer maxResults)The maximum number of image results returned byListImagesin paginated output.voidsetNextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter.voidsetRegistryId(String registryId)The AWS account ID associated with the registry that contains the repository to list images in.voidsetRepositoryName(String repositoryName)The repository whose image IDs are to be listed.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListImagesRequestwithMaxResults(Integer maxResults)The maximum number of image results returned byListImagesin paginated output.ListImagesRequestwithNextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter.ListImagesRequestwithRegistryId(String registryId)The AWS account ID associated with the registry that contains the repository to list images in.ListImagesRequestwithRepositoryName(String repositoryName)The repository whose image IDs are to be listed.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setRegistryId
public void setRegistryId(String registryId)
The AWS account ID associated with the registry that contains the repository to list images in. If you do not specify a registry, the default registry is assumed.
- Parameters:
registryId- The AWS account ID associated with the registry that contains the repository to list images in. If you do not specify a registry, the default registry is assumed.
-
getRegistryId
public String getRegistryId()
The AWS account ID associated with the registry that contains the repository to list images in. If you do not specify a registry, the default registry is assumed.
- Returns:
- The AWS account ID associated with the registry that contains the repository to list images in. If you do not specify a registry, the default registry is assumed.
-
withRegistryId
public ListImagesRequest withRegistryId(String registryId)
The AWS account ID associated with the registry that contains the repository to list images in. If you do not specify a registry, the default registry is assumed.
- Parameters:
registryId- The AWS account ID associated with the registry that contains the repository to list images in. If you do not specify a registry, the default registry is assumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRepositoryName
public void setRepositoryName(String repositoryName)
The repository whose image IDs are to be listed.
- Parameters:
repositoryName- The repository whose image IDs are to be listed.
-
getRepositoryName
public String getRepositoryName()
The repository whose image IDs are to be listed.
- Returns:
- The repository whose image IDs are to be listed.
-
withRepositoryName
public ListImagesRequest withRepositoryName(String repositoryName)
The repository whose image IDs are to be listed.
- Parameters:
repositoryName- The repository whose image IDs are to be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedListImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedListImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.
-
getNextToken
public String getNextToken()
The
nextTokenvalue returned from a previous paginatedListImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.- Returns:
- The
nextTokenvalue returned from a previous paginatedListImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.
-
withNextToken
public ListImagesRequest withNextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedListImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedListImagesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of image results returned by
ListImagesin paginated output. When this parameter is used,ListImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListImagesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListImagesreturns up to 100 results and anextTokenvalue, if applicable.- Parameters:
maxResults- The maximum number of image results returned byListImagesin paginated output. When this parameter is used,ListImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListImagesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListImagesreturns up to 100 results and anextTokenvalue, if applicable.
-
getMaxResults
public Integer getMaxResults()
The maximum number of image results returned by
ListImagesin paginated output. When this parameter is used,ListImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListImagesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListImagesreturns up to 100 results and anextTokenvalue, if applicable.- Returns:
- The maximum number of image results returned by
ListImagesin paginated output. When this parameter is used,ListImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListImagesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListImagesreturns up to 100 results and anextTokenvalue, if applicable.
-
withMaxResults
public ListImagesRequest withMaxResults(Integer maxResults)
The maximum number of image results returned by
ListImagesin paginated output. When this parameter is used,ListImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListImagesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListImagesreturns up to 100 results and anextTokenvalue, if applicable.- Parameters:
maxResults- The maximum number of image results returned byListImagesin paginated output. When this parameter is used,ListImagesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListImagesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListImagesreturns up to 100 results and anextTokenvalue, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListImagesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-