@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
GetLifecyclePolicyPreviewRequest in
paginated output. |
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. |
String |
getRegistryId()
The AWS account ID associated with the registry that contains the repository.
|
String |
getRepositoryName()
The name of the repository with the policy to retrieve.
|
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
GetLifecyclePolicyPreviewRequest in
paginated output. |
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. |
void |
setRegistryId(String registryId)
The AWS account ID associated with the registry that contains the repository.
|
void |
setRepositoryName(String repositoryName)
The name of the repository with the policy to retrieve.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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
GetLifecyclePolicyPreviewRequest in
paginated output. |
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. |
GetLifecyclePolicyPreviewRequest |
withRegistryId(String registryId)
The AWS account ID associated with the registry that contains the repository.
|
GetLifecyclePolicyPreviewRequest |
withRepositoryName(String repositoryName)
The name of the repository with the policy to retrieve.
|
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 AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId - The AWS 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 AWS 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 AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId - The AWS 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 with the policy to retrieve.
repositoryName - The name of the repository with the policy to retrieve.public String getRepositoryName()
The name of the repository with the policy to retrieve.
public GetLifecyclePolicyPreviewRequest withRepositoryName(String repositoryName)
The name of the repository with the policy to retrieve.
repositoryName - The name of the repository with the policy to retrieve.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.
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.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.
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.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.
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.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 100. If this
parameter is not used, then
GetLifecyclePolicyPreviewRequest returns up to
100 results and a nextToken
value, if
applicable.
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 100. If this
parameter is not used, then
GetLifecyclePolicyPreviewRequest returns up to
100 results and a
nextToken value, if
applicable.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 100. If this
parameter is not used, then
GetLifecyclePolicyPreviewRequest returns up to
100 results and a nextToken
value, if
applicable.
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 100. If this
parameter is not used, then
GetLifecyclePolicyPreviewRequest returns up to
100 results and a
nextToken value, if
applicable.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 100. If this
parameter is not used, then
GetLifecyclePolicyPreviewRequest returns up to
100 results and a nextToken
value, if
applicable.
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 100. If this
parameter is not used, then
GetLifecyclePolicyPreviewRequest returns up to
100 results and a
nextToken value, if
applicable.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()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.