Interface GetMediaRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetMediaRequest.Builder,GetMediaRequest>,KinesisVideoMediaRequest.Builder,SdkBuilder<GetMediaRequest.Builder,GetMediaRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetMediaRequest
public static interface GetMediaRequest.Builder extends KinesisVideoMediaRequest.Builder, SdkPojo, CopyableBuilder<GetMediaRequest.Builder,GetMediaRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetMediaRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetMediaRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default GetMediaRequest.BuilderstartSelector(Consumer<StartSelector.Builder> startSelector)Identifies the starting chunk to get from the specified stream.GetMediaRequest.BuilderstartSelector(StartSelector startSelector)Identifies the starting chunk to get from the specified stream.GetMediaRequest.BuilderstreamARN(String streamARN)The ARN of the stream from where you want to get the media content.GetMediaRequest.BuilderstreamName(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 Detail
-
streamName
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 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
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 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
GetMediaRequest.Builder startSelector(StartSelector 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
default GetMediaRequest.Builder startSelector(Consumer<StartSelector.Builder> startSelector)
Identifies the starting chunk to get from the specified stream.
This is a convenience method that creates an instance of theStartSelector.Builderavoiding the need to create one manually viaStartSelector.builder().When the
Consumercompletes,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:
startSelector(StartSelector)
-
overrideConfiguration
GetMediaRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetMediaRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-