Interface DeleteDeliveryStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteDeliveryStreamRequest.Builder,
,DeleteDeliveryStreamRequest> FirehoseRequest.Builder
,SdkBuilder<DeleteDeliveryStreamRequest.Builder,
,DeleteDeliveryStreamRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteDeliveryStreamRequest
public static interface DeleteDeliveryStreamRequest.Builder
extends FirehoseRequest.Builder, SdkPojo, CopyableBuilder<DeleteDeliveryStreamRequest.Builder,DeleteDeliveryStreamRequest>
-
Method Summary
Modifier and TypeMethodDescriptionallowForceDelete
(Boolean allowForceDelete) Set this to true if you want to delete the delivery stream even if Firehose is unable to retire the grant for the CMK.deliveryStreamName
(String deliveryStreamName) The name of the delivery stream.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.services.firehose.model.FirehoseRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
deliveryStreamName
The name of the delivery stream.
- Parameters:
deliveryStreamName
- The name of the delivery stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowForceDelete
Set this to true if you want to delete the delivery stream even if Firehose is unable to retire the grant for the CMK. Firehose might be unable to retire the grant due to a customer error, such as when the CMK or the grant are in an invalid state. If you force deletion, you can then use the RevokeGrant operation to revoke the grant you gave to Firehose. If a failure to retire the grant happens due to an Amazon Web Services KMS issue, Firehose keeps retrying the delete operation.
The default value is false.
- Parameters:
allowForceDelete
- Set this to true if you want to delete the delivery stream even if Firehose is unable to retire the grant for the CMK. Firehose might be unable to retire the grant due to a customer error, such as when the CMK or the grant are in an invalid state. If you force deletion, you can then use the RevokeGrant operation to revoke the grant you gave to Firehose. If a failure to retire the grant happens due to an Amazon Web Services KMS issue, Firehose keeps retrying the delete operation.The default value is false.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteDeliveryStreamRequest.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
DeleteDeliveryStreamRequest.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.
-