Interface GetResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<GetResourcePolicyResponse.Builder,,GetResourcePolicyResponse> SdkBuilder<GetResourcePolicyResponse.Builder,,GetResourcePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetResourcePolicyResponse
@Mutable
@NotThreadSafe
public static interface GetResourcePolicyResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpolicyDocument(String policyDocument) The resource policy in JSON format.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the CloudFront resource that is associated with the resource policy.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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.
-