@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLifecyclePolicyPreviewRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| GetLifecyclePolicyPreviewRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetLifecyclePolicyPreviewRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| LifecyclePolicyPreviewFilter | getFilter()
 An optional parameter that filters results based on image tag status and all tags, if tagged. | 
| List<ImageIdentifier> | getImageIds()
 The list of imageIDs to be included. | 
| Integer | getMaxResults()
 The maximum number of repository results returned by  GetLifecyclePolicyPreviewRequestin
 paginated output. | 
| String | getNextToken()
 The  nextTokenvalue returned from a previous paginatedGetLifecyclePolicyPreviewRequestrequest wheremaxResultswas used and the
 results exceeded the value of that parameter. | 
| String | getRegistryId()
 The Amazon Web Services account ID associated with the registry that contains the repository. | 
| String | getRepositoryName()
 The name of the repository. | 
| int | hashCode() | 
| void | setFilter(LifecyclePolicyPreviewFilter filter)
 An optional parameter that filters results based on image tag status and all tags, if tagged. | 
| void | setImageIds(Collection<ImageIdentifier> imageIds)
 The list of imageIDs to be included. | 
| void | setMaxResults(Integer maxResults)
 The maximum number of repository results returned by  GetLifecyclePolicyPreviewRequestin
 paginated output. | 
| void | setNextToken(String nextToken)
 The  nextTokenvalue returned from a previous paginatedGetLifecyclePolicyPreviewRequestrequest wheremaxResultswas used and the
 results exceeded the value of that parameter. | 
| void | setRegistryId(String registryId)
 The Amazon Web Services account ID associated with the registry that contains the repository. | 
| void | setRepositoryName(String repositoryName)
 The name of the repository. | 
| String | toString()Returns a string representation of this object. | 
| GetLifecyclePolicyPreviewRequest | withFilter(LifecyclePolicyPreviewFilter filter)
 An optional parameter that filters results based on image tag status and all tags, if tagged. | 
| GetLifecyclePolicyPreviewRequest | withImageIds(Collection<ImageIdentifier> imageIds)
 The list of imageIDs to be included. | 
| GetLifecyclePolicyPreviewRequest | withImageIds(ImageIdentifier... imageIds)
 The list of imageIDs to be included. | 
| GetLifecyclePolicyPreviewRequest | withMaxResults(Integer maxResults)
 The maximum number of repository results returned by  GetLifecyclePolicyPreviewRequestin
 paginated output. | 
| GetLifecyclePolicyPreviewRequest | withNextToken(String nextToken)
 The  nextTokenvalue returned from a previous paginatedGetLifecyclePolicyPreviewRequestrequest wheremaxResultswas used and the
 results exceeded the value of that parameter. | 
| GetLifecyclePolicyPreviewRequest | withRegistryId(String registryId)
 The Amazon Web Services account ID associated with the registry that contains the repository. | 
| GetLifecyclePolicyPreviewRequest | withRepositoryName(String repositoryName)
 The name of the repository. | 
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, withSdkRequestTimeoutpublic void setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId - The Amazon Web Services account ID associated with the registry that contains the repository. If you do
        not specify a registry, the default registry is assumed.public String getRegistryId()
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
public GetLifecyclePolicyPreviewRequest withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId - The Amazon Web Services account ID associated with the registry that contains the repository. If you do
        not specify a registry, the default registry is assumed.public void setRepositoryName(String repositoryName)
The name of the repository.
repositoryName - The name of the repository.public String getRepositoryName()
The name of the repository.
public GetLifecyclePolicyPreviewRequest withRepositoryName(String repositoryName)
The name of the repository.
repositoryName - The name of the repository.public List<ImageIdentifier> getImageIds()
The list of imageIDs to be included.
public void setImageIds(Collection<ImageIdentifier> imageIds)
The list of imageIDs to be included.
imageIds - The list of imageIDs to be included.public GetLifecyclePolicyPreviewRequest withImageIds(ImageIdentifier... imageIds)
The list of imageIDs to be included.
 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 list of imageIDs to be included.public GetLifecyclePolicyPreviewRequest withImageIds(Collection<ImageIdentifier> imageIds)
The list of imageIDs to be included.
imageIds - The list of imageIDs to be included.public void setNextToken(String nextToken)
 The nextToken value returned from a previous paginated
 GetLifecyclePolicyPreviewRequest request where maxResults was used and the
 results exceeded the value of that parameter. Pagination continues from the end of the
 previous results
 that returned the nextToken value. This value is
 null when there are no more
 results to return. This option cannot be used when you specify images with imageIds.
 
nextToken - The nextToken value returned from a previous paginated
        GetLifecyclePolicyPreviewRequest request where maxResults was used and
        the
 results exceeded the value of that parameter. Pagination continues from the end of the
        previous results that returned the nextToken value. This value is
 null
        when there are no more results to return. This option cannot be used when you specify images with
        imageIds.public String getNextToken()
 The nextToken value returned from a previous paginated
 GetLifecyclePolicyPreviewRequest request where maxResults was used and the
 results exceeded the value of that parameter. Pagination continues from the end of the
 previous results
 that returned the nextToken value. This value is
 null when there are no more
 results to return. This option cannot be used when you specify images with imageIds.
 
nextToken value returned from a previous paginated
         GetLifecyclePolicyPreviewRequest request where maxResults was used and
         the
 results exceeded the value of that parameter. Pagination continues from the end of
         the
 previous results that returned the nextToken value. This value is
         null when there are no more results to return. This option cannot be used when you specify
         images with imageIds.public GetLifecyclePolicyPreviewRequest withNextToken(String nextToken)
 The nextToken value returned from a previous paginated
 GetLifecyclePolicyPreviewRequest request where maxResults was used and the
 results exceeded the value of that parameter. Pagination continues from the end of the
 previous results
 that returned the nextToken value. This value is
 null when there are no more
 results to return. This option cannot be used when you specify images with imageIds.
 
nextToken - The nextToken value returned from a previous paginated
        GetLifecyclePolicyPreviewRequest request where maxResults was used and
        the
 results exceeded the value of that parameter. Pagination continues from the end of the
        previous results that returned the nextToken value. This value is
 null
        when there are no more results to return. This option cannot be used when you specify images with
        imageIds.public void setMaxResults(Integer maxResults)
 The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest in
 paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest only returns
 maxResults results in a single page along with a nextToken
 response element.
 The remaining results of the initial request can be seen by sending
 another
 GetLifecyclePolicyPreviewRequest request with the returned nextToken
 value.
 This value can be between 1 and 1000. If this
 parameter is not used, then
 GetLifecyclePolicyPreviewRequest returns up to
 100 results and a nextToken
 value, if
 applicable. This option cannot be used when you specify images with imageIds.
 
maxResults - The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest
        in
 paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest
        only returns
 maxResults results in a single page along with a nextToken
        
 response element. The remaining results of the initial request can be seen by sending
        another GetLifecyclePolicyPreviewRequest request with the returned nextToken
        
 value. This value can be between 1 and 1000. If this
 parameter is not used, then
        GetLifecyclePolicyPreviewRequest returns up to
 100 results and a
        nextToken value, if
 applicable. This option cannot be used when you specify images
        with imageIds.public Integer getMaxResults()
 The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest in
 paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest only returns
 maxResults results in a single page along with a nextToken
 response element.
 The remaining results of the initial request can be seen by sending
 another
 GetLifecyclePolicyPreviewRequest request with the returned nextToken
 value.
 This value can be between 1 and 1000. If this
 parameter is not used, then
 GetLifecyclePolicyPreviewRequest returns up to
 100 results and a nextToken
 value, if
 applicable. This option cannot be used when you specify images with imageIds.
 
GetLifecyclePolicyPreviewRequest
         in
 paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest
         only returns
 maxResults results in a single page along with a nextToken
         
 response element. The remaining results of the initial request can be seen by sending
         another GetLifecyclePolicyPreviewRequest request with the returned nextToken
         
 value. This value can be between 1 and 1000. If this
 parameter is not used, then
         GetLifecyclePolicyPreviewRequest returns up to
 100 results and a
         nextToken value, if
 applicable. This option cannot be used when you specify images
         with imageIds.public GetLifecyclePolicyPreviewRequest withMaxResults(Integer maxResults)
 The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest in
 paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest only returns
 maxResults results in a single page along with a nextToken
 response element.
 The remaining results of the initial request can be seen by sending
 another
 GetLifecyclePolicyPreviewRequest request with the returned nextToken
 value.
 This value can be between 1 and 1000. If this
 parameter is not used, then
 GetLifecyclePolicyPreviewRequest returns up to
 100 results and a nextToken
 value, if
 applicable. This option cannot be used when you specify images with imageIds.
 
maxResults - The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest
        in
 paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest
        only returns
 maxResults results in a single page along with a nextToken
        
 response element. The remaining results of the initial request can be seen by sending
        another GetLifecyclePolicyPreviewRequest request with the returned nextToken
        
 value. This value can be between 1 and 1000. If this
 parameter is not used, then
        GetLifecyclePolicyPreviewRequest returns up to
 100 results and a
        nextToken value, if
 applicable. This option cannot be used when you specify images
        with imageIds.public void setFilter(LifecyclePolicyPreviewFilter filter)
An optional parameter that filters results based on image tag status and all tags, if tagged.
filter - An optional parameter that filters results based on image tag status and all tags, if tagged.public LifecyclePolicyPreviewFilter getFilter()
An optional parameter that filters results based on image tag status and all tags, if tagged.
public GetLifecyclePolicyPreviewRequest withFilter(LifecyclePolicyPreviewFilter filter)
An optional parameter that filters results based on image tag status and all tags, if tagged.
filter - An optional parameter that filters results based on image tag status and all tags, if tagged.public String toString()
toString in class ObjectObject.toString()public GetLifecyclePolicyPreviewRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()