Class ResourcePolicyState.Builder

  • Enclosing class:
    ResourcePolicyState

    public static final class ResourcePolicyState.Builder
    extends java.lang.Object
    • Method Detail

      • policyDocument

        public ResourcePolicyState.Builder policyDocument​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> policyDocument)
        Parameters:
        policyDocument - JSON policy document to use as the resource-based policy. This policy defines the permissions that other AWS accounts or services have to access your workspace.
        Returns:
        builder
      • policyDocument

        public ResourcePolicyState.Builder policyDocument​(java.lang.String policyDocument)
        Parameters:
        policyDocument - JSON policy document to use as the resource-based policy. This policy defines the permissions that other AWS accounts or services have to access your workspace.
        Returns:
        builder
      • region

        public ResourcePolicyState.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ResourcePolicyState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • revisionId

        public ResourcePolicyState.Builder revisionId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> revisionId)
        Parameters:
        revisionId - Revision ID of the current resource-based policy.
        Returns:
        builder
      • revisionId

        public ResourcePolicyState.Builder revisionId​(java.lang.String revisionId)
        Parameters:
        revisionId - Revision ID of the current resource-based policy.
        Returns:
        builder
      • workspaceId

        public ResourcePolicyState.Builder workspaceId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> workspaceId)
        Parameters:
        workspaceId - ID of the workspace to attach the resource-based policy to. The following arguments are optional:
        Returns:
        builder
      • workspaceId

        public ResourcePolicyState.Builder workspaceId​(java.lang.String workspaceId)
        Parameters:
        workspaceId - ID of the workspace to attach the resource-based policy to. The following arguments are optional:
        Returns:
        builder