Interface UpdateStreamRequest.Builder

    • Method Detail

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