public static interface PutRepositoryPermissionsPolicyRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<PutRepositoryPermissionsPolicyRequest.Builder,PutRepositoryPermissionsPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
PutRepositoryPermissionsPolicyRequest.Builder |
domain(String domain)
The name of the domain containing the repository to set the resource policy on.
|
PutRepositoryPermissionsPolicyRequest.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
PutRepositoryPermissionsPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutRepositoryPermissionsPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutRepositoryPermissionsPolicyRequest.Builder |
policyDocument(String policyDocument)
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided
repository.
|
PutRepositoryPermissionsPolicyRequest.Builder |
policyRevision(String policyRevision)
Sets the revision of the resource policy that specifies permissions to access the repository.
|
PutRepositoryPermissionsPolicyRequest.Builder |
repository(String repository)
The name of the repository to set the resource policy on.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutRepositoryPermissionsPolicyRequest.Builder domain(String domain)
The name of the domain containing the repository to set the resource policy on.
domain - The name of the domain containing the repository to set the resource policy on.PutRepositoryPermissionsPolicyRequest.Builder domainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not
include dashes or spaces.PutRepositoryPermissionsPolicyRequest.Builder repository(String repository)
The name of the repository to set the resource policy on.
repository - The name of the repository to set the resource policy on.PutRepositoryPermissionsPolicyRequest.Builder policyRevision(String policyRevision)
Sets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository's resource policy.
policyRevision - Sets the revision of the resource policy that specifies permissions to access the repository. This
revision is used for optimistic locking, which prevents others from overwriting your changes to the
repository's resource policy.PutRepositoryPermissionsPolicyRequest.Builder policyDocument(String policyDocument)
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository.
policyDocument - A valid displayable JSON Aspen policy string to be set as the access control resource policy on the
provided repository.PutRepositoryPermissionsPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutRepositoryPermissionsPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.