public static interface SetRepositoryPolicyRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<SetRepositoryPolicyRequest.Builder,SetRepositoryPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
SetRepositoryPolicyRequest.Builder |
force(Boolean force)
If the policy you are attempting to set on a repository policy would prevent you from setting another policy
in the future, you must force the SetRepositoryPolicy operation.
|
SetRepositoryPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SetRepositoryPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
SetRepositoryPolicyRequest.Builder |
policyText(String policyText)
The JSON repository policy text to apply to the repository.
|
SetRepositoryPolicyRequest.Builder |
registryId(String registryId)
The AWS account ID associated with the registry that contains the repository.
|
SetRepositoryPolicyRequest.Builder |
repositoryName(String repositoryName)
The name of the repository to receive the policy.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSetRepositoryPolicyRequest.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.SetRepositoryPolicyRequest.Builder repositoryName(String repositoryName)
The name of the repository to receive the policy.
repositoryName - The name of the repository to receive the policy.SetRepositoryPolicyRequest.Builder policyText(String policyText)
The JSON repository policy text to apply to the repository. For more information, see Amazon ECR Repository Policies in the Amazon Elastic Container Registry User Guide.
policyText - The JSON repository policy text to apply to the repository. For more information, see Amazon
ECR Repository Policies in the Amazon Elastic Container Registry User Guide.SetRepositoryPolicyRequest.Builder force(Boolean force)
If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.
force - If the policy you are attempting to set on a repository policy would prevent you from setting another
policy in the future, you must force the SetRepositoryPolicy operation. This is intended to
prevent accidental repository lock outs.SetRepositoryPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSetRepositoryPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.