Interface PutResourcePolicyResponse.Builder

    • Method Detail

      • resourceArn

        PutResourcePolicyResponse.Builder resourceArn​(String resourceArn)

        Amazon Resource Name (ARN) of the resource to which a policy is attached.

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

        PutResourcePolicyResponse.Builder policy​(String policy)

        The policy attached to a resource.

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