Interface DeleteDeliveryStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteDeliveryStreamRequest.Builder,,DeleteDeliveryStreamRequest> FirehoseRequest.Builder,SdkBuilder<DeleteDeliveryStreamRequest.Builder,,DeleteDeliveryStreamRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteDeliveryStreamRequest
@Mutable
@NotThreadSafe
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 Firehose stream even if Firehose is unable to retire the grant for the CMK.deliveryStreamName(String deliveryStreamName) The name of the Firehose 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.firehose.model.FirehoseRequest.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
-
deliveryStreamName
The name of the Firehose stream.
- Parameters:
deliveryStreamName- The name of the Firehose 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 Firehose 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 Firehose 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-