Interface GetResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetResourcePolicyResponse.Builder,,GetResourcePolicyResponse> PaymentCryptographyResponse.Builder,SdkBuilder<GetResourcePolicyResponse.Builder,,GetResourcePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetResourcePolicyResponse
@Mutable
@NotThreadSafe
public static interface GetResourcePolicyResponse.Builder
extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe resource-based policy attached to the key, in JSON format.resourceArn(String resourceArn) TheKeyARNof the key.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse.Builder
build, responseMetadata, responseMetadataMethods 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
KeyARNof the key.- Parameters:
resourceArn- TheKeyARNof the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The resource-based policy attached to the key, in JSON format.
- Parameters:
policy- The resource-based policy attached to the key, in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-