Interface GetLifecyclePolicyPreviewRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetLifecyclePolicyPreviewRequest.Builder,GetLifecyclePolicyPreviewRequest>,EcrRequest.Builder,SdkBuilder<GetLifecyclePolicyPreviewRequest.Builder,GetLifecyclePolicyPreviewRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetLifecyclePolicyPreviewRequest
public static interface GetLifecyclePolicyPreviewRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<GetLifecyclePolicyPreviewRequest.Builder,GetLifecyclePolicyPreviewRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetLifecyclePolicyPreviewRequest.Builderfilter(Consumer<LifecyclePolicyPreviewFilter.Builder> filter)An optional parameter that filters results based on image tag status and all tags, if tagged.GetLifecyclePolicyPreviewRequest.Builderfilter(LifecyclePolicyPreviewFilter filter)An optional parameter that filters results based on image tag status and all tags, if tagged.GetLifecyclePolicyPreviewRequest.BuilderimageIds(Collection<ImageIdentifier> imageIds)The list of imageIDs to be included.GetLifecyclePolicyPreviewRequest.BuilderimageIds(Consumer<ImageIdentifier.Builder>... imageIds)The list of imageIDs to be included.GetLifecyclePolicyPreviewRequest.BuilderimageIds(ImageIdentifier... imageIds)The list of imageIDs to be included.GetLifecyclePolicyPreviewRequest.BuildermaxResults(Integer maxResults)The maximum number of repository results returned byGetLifecyclePolicyPreviewRequestin paginated output.GetLifecyclePolicyPreviewRequest.BuildernextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedGetLifecyclePolicyPreviewRequestrequest wheremaxResultswas used and the results exceeded the value of that parameter.GetLifecyclePolicyPreviewRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetLifecyclePolicyPreviewRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetLifecyclePolicyPreviewRequest.BuilderregistryId(String registryId)The Amazon Web Services account ID associated with the registry that contains the repository.GetLifecyclePolicyPreviewRequest.BuilderrepositoryName(String repositoryName)The name of the repository.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
registryId
GetLifecyclePolicyPreviewRequest.Builder registryId(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
GetLifecyclePolicyPreviewRequest.Builder repositoryName(String repositoryName)
The name of the repository.
- Parameters:
repositoryName- The name of the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageIds
GetLifecyclePolicyPreviewRequest.Builder imageIds(Collection<ImageIdentifier> imageIds)
The list of imageIDs to be included.
- Parameters:
imageIds- The list of imageIDs to be included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageIds
GetLifecyclePolicyPreviewRequest.Builder imageIds(ImageIdentifier... imageIds)
The list of imageIDs to be included.
- Parameters:
imageIds- The list of imageIDs to be included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageIds
GetLifecyclePolicyPreviewRequest.Builder imageIds(Consumer<ImageIdentifier.Builder>... imageIds)
The list of imageIDs to be included.
This is a convenience method that creates an instance of theImageIdentifier.Builderavoiding the need to create one manually viaImageIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#imageIds(List.) - Parameters:
imageIds- a consumer that will call methods onImageIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#imageIds(java.util.Collection)
-
nextToken
GetLifecyclePolicyPreviewRequest.Builder nextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedGetLifecyclePolicyPreviewRequestrequest 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. This option cannot be used when you specify images withimageIds.- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedGetLifecyclePolicyPreviewRequestrequest 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. This option cannot be used when you specify images withimageIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetLifecyclePolicyPreviewRequest.Builder maxResults(Integer maxResults)
The maximum number of repository results returned by
GetLifecyclePolicyPreviewRequestin paginated output. When this parameter is used,GetLifecyclePolicyPreviewRequestonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherGetLifecyclePolicyPreviewRequestrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter is not used, thenGetLifecyclePolicyPreviewRequestreturns up to 100 results and anextTokenvalue, if applicable. This option cannot be used when you specify images withimageIds.- Parameters:
maxResults- The maximum number of repository results returned byGetLifecyclePolicyPreviewRequestin paginated output. When this parameter is used,GetLifecyclePolicyPreviewRequestonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherGetLifecyclePolicyPreviewRequestrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter is not used, thenGetLifecyclePolicyPreviewRequestreturns up to 100 results and anextTokenvalue, if applicable. This option cannot be used when you specify images withimageIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
GetLifecyclePolicyPreviewRequest.Builder filter(LifecyclePolicyPreviewFilter filter)
An optional parameter that filters results based on image tag status and all tags, if tagged.
- Parameters:
filter- An optional parameter that filters results based on image tag status and all tags, if tagged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
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 method that creates an instance of theLifecyclePolicyPreviewFilter.Builderavoiding the need to create one manually viaLifecyclePolicyPreviewFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(LifecyclePolicyPreviewFilter).- Parameters:
filter- a consumer that will call methods onLifecyclePolicyPreviewFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(LifecyclePolicyPreviewFilter)
-
overrideConfiguration
GetLifecyclePolicyPreviewRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetLifecyclePolicyPreviewRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-