Class DeleteDeliveryStreamRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<DeleteDeliveryStreamRequest.Builder,DeleteDeliveryStreamRequest>

@Generated("software.amazon.awssdk:codegen") public final class DeleteDeliveryStreamRequest extends FirehoseRequest implements ToCopyableBuilder<DeleteDeliveryStreamRequest.Builder,DeleteDeliveryStreamRequest>
  • Method Details

    • deliveryStreamName

      public final String deliveryStreamName()

      The name of the Firehose stream.

      Returns:
      The name of the Firehose stream.
    • allowForceDelete

      public final 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. 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:
      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.

    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<DeleteDeliveryStreamRequest.Builder,DeleteDeliveryStreamRequest>
      Specified by:
      toBuilder in class FirehoseRequest
    • builder

      public static DeleteDeliveryStreamRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DeleteDeliveryStreamRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo