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 AWS account that owns the domain.
|
PutRepositoryPermissionsPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutRepositoryPermissionsPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutRepositoryPermissionsPolicyRequest.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 AWS account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the AWS 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)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutRepositoryPermissionsPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.