Class DomainPermissionsState.Builder

  • Enclosing class:
    DomainPermissionsState

    public static final class DomainPermissionsState.Builder
    extends java.lang.Object
    • 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