Interface DeleteResourcePolicyRequest.Builder
- All Superinterfaces:
AmpRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteResourcePolicyRequest.Builder,
,DeleteResourcePolicyRequest> SdkBuilder<DeleteResourcePolicyRequest.Builder,
,DeleteResourcePolicyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteResourcePolicyRequest
@Mutable
@NotThreadSafe
public static interface DeleteResourcePolicyRequest.Builder
extends AmpRequest.Builder, SdkPojo, CopyableBuilder<DeleteResourcePolicyRequest.Builder,DeleteResourcePolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the request is safe to retry (idempotent).overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.revisionId
(String revisionId) The revision ID of the policy to delete.workspaceId
(String workspaceId) The ID of the workspace from which to delete the resource-based policy.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
Method Details
-
workspaceId
The ID of the workspace from which to delete the resource-based policy.
- Parameters:
workspaceId
- The ID of the workspace from which to delete the resource-based policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the request is safe to retry (idempotent).
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the request is safe to retry (idempotent).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The revision ID of the policy to delete. Use this parameter to ensure that you are deleting the correct version of the policy.
- Parameters:
revisionId
- The revision ID of the policy to delete. Use this parameter to ensure that you are deleting the correct version of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-