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
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default GetMediaRequest.BuilderstartSelector(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesisvideomedia.model.KinesisVideoMediaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.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:
-
overrideConfiguration
GetMediaRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-