Interface GetResourcePolicyResponse.Builder

  • Method Details

    • resourceArn

      GetResourcePolicyResponse.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the CloudTrail channel attached to resource-based policy.

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

      GetResourcePolicyResponse.Builder resourcePolicy(String resourcePolicy)

      A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.

      Parameters:
      resourcePolicy - A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.