public static interface PutResourcePolicyRequest.Builder extends MigrationHubRefactorSpacesRequest.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 JSON-formatted string for an Amazon Web Services resource-based policy.
|
PutResourcePolicyRequest.Builder |
resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource to which the policy is being attached.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutResourcePolicyRequest.Builder policy(String policy)
A JSON-formatted string for an Amazon Web Services resource-based policy.
policy - A JSON-formatted string for an Amazon Web Services resource-based policy.PutResourcePolicyRequest.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource to which the policy is being attached.
resourceArn - The Amazon Resource Name (ARN) of the resource to which the policy is being attached.PutResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.