Interface ResourcePolicy.Builder

    • Method Detail

      • resourceArn

        ResourcePolicy.Builder resourceArn​(String resourceArn)

        The resources that a policy is attached to.

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

        ResourcePolicy.Builder policy​(String policy)

        The content of a resource policy.

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