public static interface UpdateStreamRequest.Builder extends KinesisVideoRequest.Builder, CopyableBuilder<UpdateStreamRequest.Builder,UpdateStreamRequest>
Modifier and Type | Method and Description |
---|---|
UpdateStreamRequest.Builder |
currentVersion(String currentVersion)
The version of the stream whose metadata you want to update.
|
UpdateStreamRequest.Builder |
deviceName(String deviceName)
The name of the device that is writing to the stream.
|
UpdateStreamRequest.Builder |
mediaType(String mediaType)
The stream's media type.
|
UpdateStreamRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdateStreamRequest.Builder |
streamARN(String streamARN)
The ARN of the stream whose metadata you want to update.
|
UpdateStreamRequest.Builder |
streamName(String streamName)
The name of the stream whose metadata you want to update.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
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.
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.
UpdateStreamRequest.Builder streamARN(String streamARN)
The ARN of the stream whose metadata you want to update.
streamARN
- The ARN of the stream whose metadata you want to update.UpdateStreamRequest.Builder currentVersion(String currentVersion)
The version of the stream whose metadata you want to update.
currentVersion
- The version of the stream whose metadata you want to update.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.
deviceName
- The name of the device that is writing to the stream. In the current implementation, Kinesis Video Streams does not use this name.
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
.
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
.
UpdateStreamRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.