Interface DeleteStreamRequest.Builder

  • Method Details

    • streamName

      DeleteStreamRequest.Builder streamName(String streamName)

      The name of the stream to delete.

      Parameters:
      streamName - The name of the stream to delete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enforceConsumerDeletion

      DeleteStreamRequest.Builder enforceConsumerDeletion(Boolean enforceConsumerDeletion)

      If this parameter is unset (null) or if you set it to false, and the stream has registered consumers, the call to DeleteStream fails with a ResourceInUseException.

      Parameters:
      enforceConsumerDeletion - If this parameter is unset (null) or if you set it to false, and the stream has registered consumers, the call to DeleteStream fails with a ResourceInUseException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamARN

      DeleteStreamRequest.Builder streamARN(String streamARN)

      The ARN of the stream.

      Parameters:
      streamARN - The ARN of the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamId

      DeleteStreamRequest.Builder streamId(String streamId)

      Not Implemented. Reserved for future use.

      Parameters:
      streamId - Not Implemented. Reserved for future use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DeleteStreamRequest.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.