public static interface PutResourcePolicyRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
PutResourcePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutResourcePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutResourcePolicyRequest.Builder |
policy(String policy)
A policy you want to associate with a resource.
|
PutResourcePolicyRequest.Builder |
policyHash(String policyHash)
ID of the current policy version.
|
PutResourcePolicyRequest.Builder |
policyId(String policyId)
The policy ID.
|
PutResourcePolicyRequest.Builder |
resourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutResourcePolicyRequest.Builder resourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
resourceArn - Amazon Resource Name (ARN) of the resource to which you want to attach a policy.PutResourcePolicyRequest.Builder policy(String policy)
A policy you want to associate with a resource.
policy - A policy you want to associate with a resource.PutResourcePolicyRequest.Builder policyId(String policyId)
The policy ID.
policyId - The policy ID.PutResourcePolicyRequest.Builder policyHash(String policyHash)
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
policyHash - ID of the current policy version. The hash helps to prevent a situation where multiple users attempt
to overwrite a policy. You must provide this hash when updating or deleting a policy.PutResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.