Interface GetLifecyclePolicyPreviewResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLifecyclePolicyPreviewResponse.Builder,GetLifecyclePolicyPreviewResponse>,EcrResponse.Builder,SdkBuilder<GetLifecyclePolicyPreviewResponse.Builder,GetLifecyclePolicyPreviewResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetLifecyclePolicyPreviewResponse
public static interface GetLifecyclePolicyPreviewResponse.Builder extends EcrResponse.Builder, SdkPojo, CopyableBuilder<GetLifecyclePolicyPreviewResponse.Builder,GetLifecyclePolicyPreviewResponse>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
registryId
GetLifecyclePolicyPreviewResponse.Builder registryId(String 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
GetLifecyclePolicyPreviewResponse.Builder repositoryName(String 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
GetLifecyclePolicyPreviewResponse.Builder lifecyclePolicyText(String 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
GetLifecyclePolicyPreviewResponse.Builder status(String 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:
LifecyclePolicyPreviewStatus,LifecyclePolicyPreviewStatus
-
status
GetLifecyclePolicyPreviewResponse.Builder status(LifecyclePolicyPreviewStatus 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:
LifecyclePolicyPreviewStatus,LifecyclePolicyPreviewStatus
-
nextToken
GetLifecyclePolicyPreviewResponse.Builder nextToken(String 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 to#previewResults(List.) - 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:
#previewResults(java.util.Collection)
-
summary
GetLifecyclePolicyPreviewResponse.Builder summary(LifecyclePolicyPreviewSummary 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:
summary(LifecyclePolicyPreviewSummary)
-
-