public static interface GetLifecyclePolicyPreviewResponse.Builder extends ECRResponse.Builder, CopyableBuilder<GetLifecyclePolicyPreviewResponse.Builder,GetLifecyclePolicyPreviewResponse>
Modifier and Type | Method and Description |
---|---|
GetLifecyclePolicyPreviewResponse.Builder |
lifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text.
|
GetLifecyclePolicyPreviewResponse.Builder |
nextToken(String nextToken)
The
nextToken value to include in a future GetLifecyclePolicyPreview request. |
GetLifecyclePolicyPreviewResponse.Builder |
previewResults(Collection<LifecyclePolicyPreviewResult> previewResults)
The results of the lifecycle policy preview request.
|
GetLifecyclePolicyPreviewResponse.Builder |
previewResults(LifecyclePolicyPreviewResult... previewResults)
The results of the lifecycle policy preview request.
|
GetLifecyclePolicyPreviewResponse.Builder |
registryId(String registryId)
The registry ID associated with the request.
|
GetLifecyclePolicyPreviewResponse.Builder |
repositoryName(String repositoryName)
The repository name associated with the request.
|
GetLifecyclePolicyPreviewResponse.Builder |
status(LifecyclePolicyPreviewStatus status)
The status of the lifecycle policy preview request.
|
GetLifecyclePolicyPreviewResponse.Builder |
status(String status)
The status of the lifecycle policy preview request.
|
default GetLifecyclePolicyPreviewResponse.Builder |
summary(Consumer<LifecyclePolicyPreviewSummary.Builder> summary)
The list of images that is returned as a result of the action.
|
GetLifecyclePolicyPreviewResponse.Builder |
summary(LifecyclePolicyPreviewSummary summary)
The list of images that is returned as a result of the action.
|
build
copy
apply, 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 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.