Interface PutResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudHsmV2Response.Builder
,CopyableBuilder<PutResourcePolicyResponse.Builder,
,PutResourcePolicyResponse> SdkBuilder<PutResourcePolicyResponse.Builder,
,PutResourcePolicyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutResourcePolicyResponse
@Mutable
@NotThreadSafe
public static interface PutResourcePolicyResponse.Builder
extends CloudHsmV2Response.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyResponse.Builder,PutResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe policy attached to a resource.resourceArn
(String resourceArn) Amazon Resource Name (ARN) of the resource to which a policy is attached.Methods inherited from interface software.amazon.awssdk.services.cloudhsmv2.model.CloudHsmV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resourceArn
Amazon Resource Name (ARN) of the resource to which a policy is attached.
- Parameters:
resourceArn
- Amazon Resource Name (ARN) of the resource to which a policy is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The policy attached to a resource.
- Parameters:
policy
- The policy attached to a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-