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 Details

    • deliveryStreamName

      DeleteDeliveryStreamRequest.Builder deliveryStreamName(String 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

      DeleteDeliveryStreamRequest.Builder allowForceDelete(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. 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.