Interface DeleteStreamRequest.Builder

    • Method Detail

      • streamARN

        DeleteStreamRequest.Builder streamARN​(String streamARN)

        The Amazon Resource Name (ARN) of the stream that you want to delete.

        Parameters:
        streamARN - The Amazon Resource Name (ARN) of the stream that you want to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentVersion

        DeleteStreamRequest.Builder currentVersion​(String currentVersion)

        Optional: The version of the stream that you want to delete.

        Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream version, use the DescribeStream API.

        If not specified, only the CreationTime is checked before deleting the stream.

        Parameters:
        currentVersion - Optional: The version of the stream that you want to delete.

        Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream version, use the DescribeStream API.

        If not specified, only the CreationTime is checked before deleting the stream.

        Returns:
        Returns a reference to this object so that method calls can be chained together.