@Generated(value="software.amazon.awssdk:codegen") public class GetLifecyclePolicyPreviewRequest extends ECRRequest implements ToCopyableBuilder<GetLifecyclePolicyPreviewRequest.Builder,GetLifecyclePolicyPreviewRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetLifecyclePolicyPreviewRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetLifecyclePolicyPreviewRequest.Builder |
builder() |
boolean |
equals(Object obj) |
LifecyclePolicyPreviewFilter |
filter()
An optional parameter that filters results based on image tag status and all tags, if tagged.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
List<ImageIdentifier> |
imageIds()
The list of imageIDs to be included.
|
Integer |
maxResults()
The maximum number of repository results returned by
GetLifecyclePolicyPreviewRequest in
paginated output. |
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. |
String |
registryId()
The AWS account ID associated with the registry that contains the repository.
|
String |
repositoryName()
The name of the repository with the policy to retrieve.
|
static Class<? extends GetLifecyclePolicyPreviewRequest.Builder> |
serializableBuilderClass() |
GetLifecyclePolicyPreviewRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfigcopypublic 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.
public String repositoryName()
The name of the repository with the policy to retrieve.
public List<ImageIdentifier> imageIds()
The list of imageIDs to be included.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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 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 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.
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 LifecyclePolicyPreviewFilter filter()
An optional parameter that filters results based on image tag status and all tags, if tagged.
public GetLifecyclePolicyPreviewRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GetLifecyclePolicyPreviewRequest.Builder,GetLifecyclePolicyPreviewRequest>toBuilder in class ECRRequestpublic static GetLifecyclePolicyPreviewRequest.Builder builder()
public static Class<? extends GetLifecyclePolicyPreviewRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.