Interface DeleteStreamRequest.Builder

    • Method Detail

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