Interface GetResourcePolicyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudTrailResponse.Builder, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>, SdkBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetResourcePolicyResponse

public static interface GetResourcePolicyResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
  • 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.