public static interface SetRepositoryPolicyRequest.Builder extends ECRRequest.Builder, 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 |
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.
|
SetRepositoryPolicyRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
SetRepositoryPolicyRequest.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.
policyText
- The JSON repository policy text to apply to the repository.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.