Interface DeleteResourcePolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteResourcePolicyRequest.Builder,,DeleteResourcePolicyRequest> LambdaRequest.Builder,SdkBuilder<DeleteResourcePolicyRequest.Builder,,DeleteResourcePolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteResourcePolicyRequest
@Mutable
@NotThreadSafe
public static interface DeleteResourcePolicyRequest.Builder
extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<DeleteResourcePolicyRequest.Builder,DeleteResourcePolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the Lambda resource you want to delete the policy from.revisionId(String revisionId) The revision ID that the existing policy must match for the deletion to proceed.Methods 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.services.lambda.model.LambdaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceArn
The Amazon Resource Name (ARN) of the Lambda resource you want to delete the policy from. You can use a qualified or an unqualified ARN. The value must be a complete ARN, and the operation does not accept wildcard characters.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the Lambda resource you want to delete the policy from. You can use a qualified or an unqualified ARN. The value must be a complete ARN, and the operation does not accept wildcard characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The revision ID that the existing policy must match for the deletion to proceed. If the revision ID doesn't match, the operation fails with a
PreconditionFailedExceptionerror. To retrieve the current revision ID, use the GetResourcePolicy operation.- Parameters:
revisionId- The revision ID that the existing policy must match for the deletion to proceed. If the revision ID doesn't match, the operation fails with aPreconditionFailedExceptionerror. To retrieve the current revision ID, use the GetResourcePolicy operation.- 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.
-