Interface GetMediaRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetMediaRequest.Builder,
,GetMediaRequest> KinesisVideoMediaRequest.Builder
,SdkBuilder<GetMediaRequest.Builder,
,GetMediaRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetMediaRequest
@Mutable
@NotThreadSafe
public static interface GetMediaRequest.Builder
extends KinesisVideoMediaRequest.Builder, SdkPojo, CopyableBuilder<GetMediaRequest.Builder,GetMediaRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default GetMediaRequest.Builder
startSelector
(Consumer<StartSelector.Builder> startSelector) Identifies the starting chunk to get from the specified stream.startSelector
(StartSelector startSelector) Identifies the starting chunk to get from the specified stream.The ARN of the stream from where you want to get the media content.streamName
(String streamName) The Kinesis video stream name from where you want to get the media content.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.kinesisvideomedia.model.KinesisVideoMediaRequest.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
-
streamName
The Kinesis video stream name from where you want to get the media content. If you don't specify the
streamName
, you must specify thestreamARN
.- Parameters:
streamName
- The Kinesis video stream name from where you want to get the media content. If you don't specify thestreamName
, you must specify thestreamARN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamARN
The ARN of the stream from where you want to get the media content. If you don't specify the
streamARN
, you must specify thestreamName
.- Parameters:
streamARN
- The ARN of the stream from where you want to get the media content. If you don't specify thestreamARN
, you must specify thestreamName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startSelector
Identifies the starting chunk to get from the specified stream.
- Parameters:
startSelector
- Identifies the starting chunk to get from the specified stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startSelector
Identifies the starting chunk to get from the specified stream.
This is a convenience method that creates an instance of theStartSelector.Builder
avoiding the need to create one manually viaStartSelector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartSelector(StartSelector)
.- Parameters:
startSelector
- a consumer that will call methods onStartSelector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetMediaRequest.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
GetMediaRequest.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.
-