Interface DeleteStreamRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DeleteStreamRequest.Builder,DeleteStreamRequest>, KinesisVideoRequest.Builder, SdkBuilder<DeleteStreamRequest.Builder,DeleteStreamRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DeleteStreamRequest

public static interface DeleteStreamRequest.Builder extends KinesisVideoRequest.Builder, SdkPojo, CopyableBuilder<DeleteStreamRequest.Builder,DeleteStreamRequest>
  • Method Details

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