Interface UpdateStreamRequest.Builder

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

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

    • streamName

      UpdateStreamRequest.Builder streamName(String streamName)

      The name of the stream whose metadata you want to update.

      The stream name is an identifier for the stream, and must be unique for each account and region.

      Parameters:
      streamName - The name of the stream whose metadata you want to update.

      The stream name is an identifier for the stream, and must be unique for each account and region.

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

      UpdateStreamRequest.Builder streamARN(String streamARN)

      The ARN of the stream whose metadata you want to update.

      Parameters:
      streamARN - The ARN of the stream whose metadata you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentVersion

      UpdateStreamRequest.Builder currentVersion(String currentVersion)

      The version of the stream whose metadata you want to update.

      Parameters:
      currentVersion - The version of the stream whose metadata you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceName

      UpdateStreamRequest.Builder deviceName(String deviceName)

      The name of the device that is writing to the stream.

      In the current implementation, Kinesis Video Streams does not use this name.

      Parameters:
      deviceName - The name of the device that is writing to the stream.

      In the current implementation, Kinesis Video Streams does not use this name.

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

      UpdateStreamRequest.Builder mediaType(String mediaType)

      The stream's media type. Use MediaType to specify the type of content that the stream contains to the consumers of the stream. For more information about media types, see Media Types. If you choose to specify the MediaType, see Naming Requirements.

      To play video on the console, you must specify the correct video type. For example, if the video in the stream is H.264, specify video/h264 as the MediaType.

      Parameters:
      mediaType - The stream's media type. Use MediaType to specify the type of content that the stream contains to the consumers of the stream. For more information about media types, see Media Types. If you choose to specify the MediaType, see Naming Requirements.

      To play video on the console, you must specify the correct video type. For example, if the video in the stream is H.264, specify video/h264 as the MediaType.

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

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