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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateStreamRequest.BuildercurrentVersion(String currentVersion)The version of the stream whose metadata you want to update.UpdateStreamRequest.BuilderdeviceName(String deviceName)The name of the device that is writing to the stream.UpdateStreamRequest.BuildermediaType(String mediaType)The stream's media type.UpdateStreamRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateStreamRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateStreamRequest.BuilderstreamARN(String streamARN)The ARN of the stream whose metadata you want to update.UpdateStreamRequest.BuilderstreamName(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 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
MediaTypeto 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/h264as theMediaType.- Parameters:
mediaType- The stream's media type. UseMediaTypeto 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/h264as theMediaType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-