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.ThenextTokenvalue to include in a futureGetLifecyclePolicyPreviewrequest.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
copyMethods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
nextTokenvalue to include in a futureGetLifecyclePolicyPreviewrequest. When the results of aGetLifecyclePolicyPreviewrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureGetLifecyclePolicyPreviewrequest. When the results of aGetLifecyclePolicyPreviewrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen 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.Builderavoiding the need to create one manually viaLifecyclePolicyPreviewResult.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLifecyclePolicyPreviewSummary.builder().When the
Consumercompletes,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:
-