Interface ResourcePolicy.Builder

    • Method Detail

      • policy

        ResourcePolicy.Builder policy​(String policy)

        The resource policy.

        Parameters:
        policy - The resource policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceArn

        ResourcePolicy.Builder resourceArn​(String resourceArn)

        The Amazon Resource Name (ARN) of the policy.

        Parameters:
        resourceArn - The Amazon Resource Name (ARN) of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.