Interface UpdateFlowMediaStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateFlowMediaStreamRequest.Builder,
,UpdateFlowMediaStreamRequest> MediaConnectRequest.Builder
,SdkBuilder<UpdateFlowMediaStreamRequest.Builder,
,UpdateFlowMediaStreamRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateFlowMediaStreamRequest
@Mutable
@NotThreadSafe
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 for the stream.description
(String description) A description that can help you quickly identify what your media stream is used for.The Amazon Resource Name (ARN) of the flow that is associated with the media stream that you updated.mediaStreamName
(String mediaStreamName) The media stream that you updated.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, sdkFieldNameToField, 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 for the stream. This value in measured in kHz.
- Parameters:
clockRate
- The sample rate for the stream. This value in measured in kHz.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description that can help you quickly identify what your media stream is used for.
- Parameters:
description
- A description that can help you quickly identify what your media stream is used for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowArn
The Amazon Resource Name (ARN) of the flow that is associated with the media stream that you updated.
- Parameters:
flowArn
- The Amazon Resource Name (ARN) of the flow that is associated with the media stream that you updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreamName
The media stream that you updated.
- Parameters:
mediaStreamName
- The media stream that you updated.- 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.
-