Interface StreamInfo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<StreamInfo.Builder,StreamInfo>, SdkBuilder<StreamInfo.Builder,StreamInfo>, SdkPojo
Enclosing class:
StreamInfo

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

    • deviceName

      StreamInfo.Builder deviceName(String deviceName)

      The name of the device that is associated with the stream.

      Parameters:
      deviceName - The name of the device that is associated with the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamName

      StreamInfo.Builder streamName(String streamName)

      The name of the stream.

      Parameters:
      streamName - The name of the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamARN

      StreamInfo.Builder streamARN(String streamARN)

      The Amazon Resource Name (ARN) of the stream.

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

      StreamInfo.Builder mediaType(String mediaType)

      The MediaType of the stream.

      Parameters:
      mediaType - The MediaType of the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyId

      StreamInfo.Builder kmsKeyId(String kmsKeyId)

      The ID of the Key Management Service (KMS) key that Kinesis Video Streams uses to encrypt data on the stream.

      Parameters:
      kmsKeyId - The ID of the Key Management Service (KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      StreamInfo.Builder version(String version)

      The version of the stream.

      Parameters:
      version - The version of the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      StreamInfo.Builder status(String status)

      The status of the stream.

      Parameters:
      status - The status of the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      StreamInfo.Builder status(Status status)

      The status of the stream.

      Parameters:
      status - The status of the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationTime

      StreamInfo.Builder creationTime(Instant creationTime)

      A time stamp that indicates when the stream was created.

      Parameters:
      creationTime - A time stamp that indicates when the stream was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataRetentionInHours

      StreamInfo.Builder dataRetentionInHours(Integer dataRetentionInHours)

      How long the stream retains data, in hours.

      Parameters:
      dataRetentionInHours - How long the stream retains data, in hours.
      Returns:
      Returns a reference to this object so that method calls can be chained together.