public static interface PutLifecyclePolicyRequest.Builder extends EcrRequest.Builder, CopyableBuilder<PutLifecyclePolicyRequest.Builder,PutLifecyclePolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
PutLifecyclePolicyRequest.Builder |
lifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text to apply to the repository.
|
PutLifecyclePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutLifecyclePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PutLifecyclePolicyRequest.Builder |
registryId(String registryId)
The AWS account ID associated with the registry that contains the repository.
|
PutLifecyclePolicyRequest.Builder |
repositoryName(String repositoryName)
The name of the repository to receive the policy.
|
buildoverrideConfigurationcopyapplyMutation, buildPutLifecyclePolicyRequest.Builder registryId(String registryId)
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId - The AWS account ID associated with the registry that contains the repository. If you do
not
specify a registry, the default registry is assumed.PutLifecyclePolicyRequest.Builder repositoryName(String repositoryName)
The name of the repository to receive the policy.
repositoryName - The name of the repository to receive the policy.PutLifecyclePolicyRequest.Builder lifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text to apply to the repository.
lifecyclePolicyText - The JSON repository policy text to apply to the repository.PutLifecyclePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.PutLifecyclePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.