Interface PutResourcePolicyResponse.Builder

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

public static interface PutResourcePolicyResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyResponse.Builder,PutResourcePolicyResponse>
  • Method Details

    • resourceArn

      PutResourcePolicyResponse.Builder resourceArn(String resourceArn)

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

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

      PutResourcePolicyResponse.Builder resourcePolicy(String resourcePolicy)

      The JSON-formatted string of the Amazon Web Services resource-based policy attached to the CloudTrail channel.

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