Interface GetLifecyclePolicyPreviewResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLifecyclePolicyPreviewResponse.Builder,
,GetLifecyclePolicyPreviewResponse> EcrResponse.Builder
,SdkBuilder<GetLifecyclePolicyPreviewResponse.Builder,
,GetLifecyclePolicyPreviewResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetLifecyclePolicyPreviewResponse
-
Method Summary
Modifier and TypeMethodDescriptionlifecyclePolicyText
(String lifecyclePolicyText) The JSON lifecycle policy text.ThenextToken
value to include in a futureGetLifecyclePolicyPreview
request.previewResults
(Collection<LifecyclePolicyPreviewResult> previewResults) The results of the lifecycle policy preview request.previewResults
(Consumer<LifecyclePolicyPreviewResult.Builder>... previewResults) The results of the lifecycle policy preview request.previewResults
(LifecyclePolicyPreviewResult... previewResults) The results of the lifecycle policy preview request.registryId
(String registryId) The registry ID associated with the request.repositoryName
(String repositoryName) The repository name associated with the request.The status of the lifecycle policy preview request.status
(LifecyclePolicyPreviewStatus status) The status of the lifecycle policy preview request.The list of images that is returned as a result of the action.summary
(LifecyclePolicyPreviewSummary summary) The list of images that is returned as a result of the action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
registryId
The registry ID associated with the request.
- Parameters:
registryId
- The registry ID associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
The repository name associated with the request.
- Parameters:
repositoryName
- The repository name associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecyclePolicyText
The JSON lifecycle policy text.
- Parameters:
lifecyclePolicyText
- The JSON lifecycle policy text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the lifecycle policy preview request.
- Parameters:
status
- The status of the lifecycle policy preview request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the lifecycle policy preview request.
- Parameters:
status
- The status of the lifecycle policy preview request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextToken
value to include in a futureGetLifecyclePolicyPreview
request. When the results of aGetLifecyclePolicyPreview
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureGetLifecyclePolicyPreview
request. When the results of aGetLifecyclePolicyPreview
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previewResults
GetLifecyclePolicyPreviewResponse.Builder previewResults(Collection<LifecyclePolicyPreviewResult> previewResults) The results of the lifecycle policy preview request.
- Parameters:
previewResults
- The results of the lifecycle policy preview request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previewResults
GetLifecyclePolicyPreviewResponse.Builder previewResults(LifecyclePolicyPreviewResult... previewResults) The results of the lifecycle policy preview request.
- Parameters:
previewResults
- The results of the lifecycle policy preview request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previewResults
GetLifecyclePolicyPreviewResponse.Builder previewResults(Consumer<LifecyclePolicyPreviewResult.Builder>... previewResults) The results of the lifecycle policy preview request.
This is a convenience method that creates an instance of theLifecyclePolicyPreviewResult.Builder
avoiding the need to create one manually viaLifecyclePolicyPreviewResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topreviewResults(List<LifecyclePolicyPreviewResult>)
.- Parameters:
previewResults
- a consumer that will call methods onLifecyclePolicyPreviewResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summary
The list of images that is returned as a result of the action.
- Parameters:
summary
- The list of images that is returned as a result of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
default GetLifecyclePolicyPreviewResponse.Builder summary(Consumer<LifecyclePolicyPreviewSummary.Builder> summary) The list of images that is returned as a result of the action.
This is a convenience method that creates an instance of theLifecyclePolicyPreviewSummary.Builder
avoiding the need to create one manually viaLifecyclePolicyPreviewSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummary(LifecyclePolicyPreviewSummary)
.- Parameters:
summary
- a consumer that will call methods onLifecyclePolicyPreviewSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-