Interface PutResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutResourcePolicyResponse.Builder,,PutResourcePolicyResponse> PaymentCryptographyResponse.Builder,SdkBuilder<PutResourcePolicyResponse.Builder,,PutResourcePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutResourcePolicyResponse
@Mutable
@NotThreadSafe
public static interface PutResourcePolicyResponse.Builder
extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyResponse.Builder,PutResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe resource-based policy that was attached to the key.resourceArn(String resourceArn) TheKeyARNof the key that the resource-based policy was attached to.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 that the resource-based policy was attached to.- Parameters:
resourceArn- TheKeyARNof the key that the resource-based policy was attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The resource-based policy that was attached to the key.
- Parameters:
policy- The resource-based policy that was attached to the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-