public static interface GetMediaRequest.Builder extends KinesisVideoMediaRequest.Builder, SdkPojo, CopyableBuilder<GetMediaRequest.Builder,GetMediaRequest>
Modifier and Type | Method and Description |
---|---|
GetMediaRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetMediaRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default GetMediaRequest.Builder |
startSelector(Consumer<StartSelector.Builder> startSelector)
Identifies the starting chunk to get from the specified stream.
|
GetMediaRequest.Builder |
startSelector(StartSelector startSelector)
Identifies the starting chunk to get from the specified stream.
|
GetMediaRequest.Builder |
streamARN(String streamARN)
The ARN of the stream from where you want to get the media content.
|
GetMediaRequest.Builder |
streamName(String streamName)
The Kinesis video stream name from where you want to get the media content.
|
build
overrideConfiguration
copy
applyMutation, build
GetMediaRequest.Builder streamName(String 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 the streamARN
.
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 the streamARN
.GetMediaRequest.Builder streamARN(String 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 the streamName
.
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 the streamName
.GetMediaRequest.Builder startSelector(StartSelector startSelector)
Identifies the starting chunk to get from the specified stream.
startSelector
- Identifies the starting chunk to get from the specified stream.default GetMediaRequest.Builder startSelector(Consumer<StartSelector.Builder> startSelector)
Identifies the starting chunk to get from the specified stream.
This is a convenience that creates an instance of theStartSelector.Builder
avoiding the need to
create one manually via StartSelector.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to startSelector(StartSelector)
.startSelector
- a consumer that will call methods on StartSelector.Builder
startSelector(StartSelector)
GetMediaRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetMediaRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.