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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-