public static interface GetLifecyclePolicyPreviewRequest.Builder extends EcrRequest.Builder, CopyableBuilder<GetLifecyclePolicyPreviewRequest.Builder,GetLifecyclePolicyPreviewRequest>
Modifier and Type | Method and Description |
---|---|
default GetLifecyclePolicyPreviewRequest.Builder |
filter(Consumer<LifecyclePolicyPreviewFilter.Builder> filter)
An optional parameter that filters results based on image tag status and all tags, if tagged.
|
GetLifecyclePolicyPreviewRequest.Builder |
filter(LifecyclePolicyPreviewFilter filter)
An optional parameter that filters results based on image tag status and all tags, if tagged.
|
GetLifecyclePolicyPreviewRequest.Builder |
imageIds(Collection<ImageIdentifier> imageIds)
The list of imageIDs to be included.
|
GetLifecyclePolicyPreviewRequest.Builder |
imageIds(Consumer<ImageIdentifier.Builder>... imageIds)
The list of imageIDs to be included.
|
GetLifecyclePolicyPreviewRequest.Builder |
imageIds(ImageIdentifier... imageIds)
The list of imageIDs to be included.
|
GetLifecyclePolicyPreviewRequest.Builder |
maxResults(Integer maxResults)
The maximum number of repository results returned by
GetLifecyclePolicyPreviewRequest in
paginated output. |
GetLifecyclePolicyPreviewRequest.Builder |
nextToken(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.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetLifecyclePolicyPreviewRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetLifecyclePolicyPreviewRequest.Builder |
registryId(String registryId)
The AWS account ID associated with the registry that contains the repository.
|
GetLifecyclePolicyPreviewRequest.Builder |
repositoryName(String repositoryName)
The name of the repository with the policy to retrieve.
|
build
overrideConfiguration
copy
applyMutation, build
GetLifecyclePolicyPreviewRequest.Builder registryId(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.GetLifecyclePolicyPreviewRequest.Builder repositoryName(String repositoryName)
The name of the repository with the policy to retrieve.
repositoryName
- The name of the repository with the policy to retrieve.GetLifecyclePolicyPreviewRequest.Builder imageIds(Collection<ImageIdentifier> imageIds)
The list of imageIDs to be included.
imageIds
- The list of imageIDs to be included.GetLifecyclePolicyPreviewRequest.Builder imageIds(ImageIdentifier... imageIds)
The list of imageIDs to be included.
imageIds
- The list of imageIDs to be included.GetLifecyclePolicyPreviewRequest.Builder imageIds(Consumer<ImageIdentifier.Builder>... imageIds)
The list of imageIDs to be included.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #imageIds(List)
.imageIds
- a consumer that will call methods on List.Builder
#imageIds(List)
GetLifecyclePolicyPreviewRequest.Builder nextToken(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.GetLifecyclePolicyPreviewRequest.Builder maxResults(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.GetLifecyclePolicyPreviewRequest.Builder filter(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.default GetLifecyclePolicyPreviewRequest.Builder filter(Consumer<LifecyclePolicyPreviewFilter.Builder> filter)
An optional parameter that filters results based on image tag status and all tags, if tagged.
This is a convenience that creates an instance of theLifecyclePolicyPreviewFilter.Builder
avoiding
the need to create one manually via LifecyclePolicyPreviewFilter.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to filter(LifecyclePolicyPreviewFilter)
.filter
- a consumer that will call methods on LifecyclePolicyPreviewFilter.Builder
filter(LifecyclePolicyPreviewFilter)
GetLifecyclePolicyPreviewRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetLifecyclePolicyPreviewRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.