Interface UpdateStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateStreamRequest.Builder,
,UpdateStreamRequest> KinesisVideoRequest.Builder
,SdkBuilder<UpdateStreamRequest.Builder,
,UpdateStreamRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateStreamRequest
-
Method Summary
Modifier and TypeMethodDescriptioncurrentVersion
(String currentVersion) The version of the stream whose metadata you want to update.deviceName
(String deviceName) The name of the device that is writing to the stream.The stream's media type.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the stream whose metadata you want to update.streamName
(String streamName) The name of the stream whose metadata you want to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kinesisvideo.model.KinesisVideoRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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 theMediaType
, 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 theMediaType
.- Parameters:
mediaType
- The stream's media type. UseMediaType
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 theMediaType
, 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 theMediaType
.- 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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-