Class DomainPermissionsState.Builder
- java.lang.Object
-
- com.pulumi.aws.codeartifact.inputs.DomainPermissionsState.Builder
-
- Enclosing class:
- DomainPermissionsState
public static final class DomainPermissionsState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DomainPermissionsState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainPermissionsState
build()
DomainPermissionsState.Builder
domain(com.pulumi.core.Output<java.lang.String> domain)
DomainPermissionsState.Builder
domain(java.lang.String domain)
DomainPermissionsState.Builder
domainOwner(com.pulumi.core.Output<java.lang.String> domainOwner)
DomainPermissionsState.Builder
domainOwner(java.lang.String domainOwner)
DomainPermissionsState.Builder
policyDocument(com.pulumi.core.Output<java.lang.String> policyDocument)
DomainPermissionsState.Builder
policyDocument(java.lang.String policyDocument)
DomainPermissionsState.Builder
policyRevision(com.pulumi.core.Output<java.lang.String> policyRevision)
DomainPermissionsState.Builder
policyRevision(java.lang.String policyRevision)
DomainPermissionsState.Builder
resourceArn(com.pulumi.core.Output<java.lang.String> resourceArn)
DomainPermissionsState.Builder
resourceArn(java.lang.String resourceArn)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DomainPermissionsState defaults)
-
-
Method Detail
-
domain
public DomainPermissionsState.Builder domain(@Nullable com.pulumi.core.Output<java.lang.String> domain)
- Parameters:
domain
- The name of the domain on which to set the resource policy.- Returns:
- builder
-
domain
public DomainPermissionsState.Builder domain(java.lang.String domain)
- Parameters:
domain
- The name of the domain on which to set the resource policy.- Returns:
- builder
-
domainOwner
public DomainPermissionsState.Builder domainOwner(@Nullable com.pulumi.core.Output<java.lang.String> domainOwner)
- Parameters:
domainOwner
- The account number of the AWS account that owns the domain.- Returns:
- builder
-
domainOwner
public DomainPermissionsState.Builder domainOwner(java.lang.String domainOwner)
- Parameters:
domainOwner
- The account number of the AWS account that owns the domain.- Returns:
- builder
-
policyDocument
public DomainPermissionsState.Builder policyDocument(@Nullable com.pulumi.core.Output<java.lang.String> policyDocument)
- Parameters:
policyDocument
- A JSON policy string to be set as the access control resource policy on the provided domain.- Returns:
- builder
-
policyDocument
public DomainPermissionsState.Builder policyDocument(java.lang.String policyDocument)
- Parameters:
policyDocument
- A JSON policy string to be set as the access control resource policy on the provided domain.- Returns:
- builder
-
policyRevision
public DomainPermissionsState.Builder policyRevision(@Nullable com.pulumi.core.Output<java.lang.String> policyRevision)
- 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:
- builder
-
policyRevision
public DomainPermissionsState.Builder policyRevision(java.lang.String policyRevision)
- 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:
- builder
-
resourceArn
public DomainPermissionsState.Builder resourceArn(@Nullable com.pulumi.core.Output<java.lang.String> resourceArn)
- Parameters:
resourceArn
- The ARN of the resource associated with the resource policy.- Returns:
- builder
-
resourceArn
public DomainPermissionsState.Builder resourceArn(java.lang.String resourceArn)
- Parameters:
resourceArn
- The ARN of the resource associated with the resource policy.- Returns:
- builder
-
build
public DomainPermissionsState build()
-
-