Interface GetResourcePolicyResponse.Builder

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

  • Method Details

    • resourceArn

      GetResourcePolicyResponse.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the CloudFront resource that is associated with the resource policy.

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

      GetResourcePolicyResponse.Builder policyDocument(String policyDocument)

      The resource policy in JSON format.

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