Interface PutDomainPermissionsPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<PutDomainPermissionsPolicyRequest.Builder,PutDomainPermissionsPolicyRequest>,SdkBuilder<PutDomainPermissionsPolicyRequest.Builder,PutDomainPermissionsPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutDomainPermissionsPolicyRequest
public static interface PutDomainPermissionsPolicyRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<PutDomainPermissionsPolicyRequest.Builder,PutDomainPermissionsPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutDomainPermissionsPolicyRequest.Builderdomain(String domain)The name of the domain on which to set the resource policy.PutDomainPermissionsPolicyRequest.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.PutDomainPermissionsPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutDomainPermissionsPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutDomainPermissionsPolicyRequest.BuilderpolicyDocument(String policyDocument)A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.PutDomainPermissionsPolicyRequest.BuilderpolicyRevision(String policyRevision)The current revision of the resource policy to be set.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
domain
PutDomainPermissionsPolicyRequest.Builder domain(String domain)
The name of the domain on which to set the resource policy.
- Parameters:
domain- The name of the domain on which to set the resource policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainOwner
PutDomainPermissionsPolicyRequest.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.
- Parameters:
domainOwner- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyRevision
PutDomainPermissionsPolicyRequest.Builder policyRevision(String policyRevision)
The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
- Parameters:
policyRevision- The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocument
PutDomainPermissionsPolicyRequest.Builder policyDocument(String policyDocument)
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.
- Parameters:
policyDocument- A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutDomainPermissionsPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutDomainPermissionsPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-