Interface UpdateFlowMediaStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateFlowMediaStreamRequest.Builder,
,UpdateFlowMediaStreamRequest> MediaConnectRequest.Builder
,SdkBuilder<UpdateFlowMediaStreamRequest.Builder,
,UpdateFlowMediaStreamRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateFlowMediaStreamRequest
public static interface UpdateFlowMediaStreamRequest.Builder
extends MediaConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateFlowMediaStreamRequest.Builder,UpdateFlowMediaStreamRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Consumer<MediaStreamAttributesRequest.Builder> attributes) The attributes that you want to assign to the media stream.attributes
(MediaStreamAttributesRequest attributes) The attributes that you want to assign to the media stream.The sample rate (in Hz) for the stream.description
(String description) DescriptionThe Amazon Resource Name (ARN) of the flow.mediaStreamName
(String mediaStreamName) The name of the media stream that you want to update.mediaStreamType
(String mediaStreamType) The type of media stream.mediaStreamType
(MediaStreamType mediaStreamType) The type of media stream.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.videoFormat
(String videoFormat) The resolution of the video.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.mediaconnect.model.MediaConnectRequest.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
-
attributes
The attributes that you want to assign to the media stream.- Parameters:
attributes
- The attributes that you want to assign to the media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
default UpdateFlowMediaStreamRequest.Builder attributes(Consumer<MediaStreamAttributesRequest.Builder> attributes) The attributes that you want to assign to the media stream. This is a convenience method that creates an instance of theMediaStreamAttributesRequest.Builder
avoiding the need to create one manually viaMediaStreamAttributesRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(MediaStreamAttributesRequest)
.- Parameters:
attributes
- a consumer that will call methods onMediaStreamAttributesRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clockRate
The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.- Parameters:
clockRate
- The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Description- Parameters:
description
- Description- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowArn
The Amazon Resource Name (ARN) of the flow.- Parameters:
flowArn
- The Amazon Resource Name (ARN) of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreamName
The name of the media stream that you want to update.- Parameters:
mediaStreamName
- The name of the media stream that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreamType
The type of media stream.- Parameters:
mediaStreamType
- The type of media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaStreamType
The type of media stream.- Parameters:
mediaStreamType
- The type of media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
videoFormat
The resolution of the video.- Parameters:
videoFormat
- The resolution of the video.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFlowMediaStreamRequest.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
UpdateFlowMediaStreamRequest.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.
-