public static interface GetLifecyclePolicyPreviewResponse.Builder extends EcrResponse.Builder, CopyableBuilder<GetLifecyclePolicyPreviewResponse.Builder,GetLifecyclePolicyPreviewResponse>
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetLifecyclePolicyPreviewResponse.Builder registryId(String registryId)
The registry ID associated with the request.
registryId
- The registry ID associated with the request.GetLifecyclePolicyPreviewResponse.Builder repositoryName(String repositoryName)
The repository name associated with the request.
repositoryName
- The repository name associated with the request.GetLifecyclePolicyPreviewResponse.Builder lifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text.
lifecyclePolicyText
- The JSON repository policy text.GetLifecyclePolicyPreviewResponse.Builder status(String status)
The status of the lifecycle policy preview request.
status
- The status of the lifecycle policy preview request.LifecyclePolicyPreviewStatus
,
LifecyclePolicyPreviewStatus
GetLifecyclePolicyPreviewResponse.Builder status(LifecyclePolicyPreviewStatus status)
The status of the lifecycle policy preview request.
status
- The status of the lifecycle policy preview request.LifecyclePolicyPreviewStatus
,
LifecyclePolicyPreviewStatus
GetLifecyclePolicyPreviewResponse.Builder nextToken(String nextToken)
The nextToken
value to include in a future GetLifecyclePolicyPreview
request. When
the results of a GetLifecyclePolicyPreview
request exceed maxResults
, this value
can be used to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The nextToken
value to include in a future GetLifecyclePolicyPreview
request. When the results of a GetLifecyclePolicyPreview
request exceed
maxResults
, this value can be used to retrieve the next page of results. This value is
null
when there are no more results to return.GetLifecyclePolicyPreviewResponse.Builder previewResults(Collection<LifecyclePolicyPreviewResult> previewResults)
The results of the lifecycle policy preview request.
previewResults
- The results of the lifecycle policy preview request.GetLifecyclePolicyPreviewResponse.Builder previewResults(LifecyclePolicyPreviewResult... previewResults)
The results of the lifecycle policy preview request.
previewResults
- The results of the lifecycle policy preview request.GetLifecyclePolicyPreviewResponse.Builder previewResults(Consumer<LifecyclePolicyPreviewResult.Builder>... previewResults)
The results of the lifecycle policy preview request.
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 #previewResults(List)
.previewResults
- a consumer that will call methods on List.Builder
#previewResults(List)
GetLifecyclePolicyPreviewResponse.Builder summary(LifecyclePolicyPreviewSummary summary)
The list of images that is returned as a result of the action.
summary
- The list of images that is returned as a result of the action.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 that creates an instance of theLifecyclePolicyPreviewSummary.Builder
avoiding
the need to create one manually via LifecyclePolicyPreviewSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to summary(LifecyclePolicyPreviewSummary)
.summary
- a consumer that will call methods on LifecyclePolicyPreviewSummary.Builder
summary(LifecyclePolicyPreviewSummary)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.