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 |
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.
|
PutLifecyclePolicyRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutLifecyclePolicyRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
PutLifecyclePolicyRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.PutLifecyclePolicyRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.