Interface KinesisVideoStreamRecordingSourceRuntimeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KinesisVideoStreamRecordingSourceRuntimeConfiguration.Builder,,KinesisVideoStreamRecordingSourceRuntimeConfiguration> SdkBuilder<KinesisVideoStreamRecordingSourceRuntimeConfiguration.Builder,,KinesisVideoStreamRecordingSourceRuntimeConfiguration> SdkPojo
- Enclosing class:
KinesisVideoStreamRecordingSourceRuntimeConfiguration
public static interface KinesisVideoStreamRecordingSourceRuntimeConfiguration.Builder
extends SdkPojo, CopyableBuilder<KinesisVideoStreamRecordingSourceRuntimeConfiguration.Builder,KinesisVideoStreamRecordingSourceRuntimeConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionfragmentSelector(Consumer<FragmentSelector.Builder> fragmentSelector) Describes the timestamp range and timestamp origin of a range of fragments in the Kinesis video stream.fragmentSelector(FragmentSelector fragmentSelector) Describes the timestamp range and timestamp origin of a range of fragments in the Kinesis video stream.streams(Collection<RecordingStreamConfiguration> streams) The stream or streams to be recorded.streams(Consumer<RecordingStreamConfiguration.Builder>... streams) The stream or streams to be recorded.streams(RecordingStreamConfiguration... streams) The stream or streams to be recorded.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
streams
KinesisVideoStreamRecordingSourceRuntimeConfiguration.Builder streams(Collection<RecordingStreamConfiguration> streams) The stream or streams to be recorded.
- Parameters:
streams- The stream or streams to be recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
KinesisVideoStreamRecordingSourceRuntimeConfiguration.Builder streams(RecordingStreamConfiguration... streams) The stream or streams to be recorded.
- Parameters:
streams- The stream or streams to be recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
KinesisVideoStreamRecordingSourceRuntimeConfiguration.Builder streams(Consumer<RecordingStreamConfiguration.Builder>... streams) The stream or streams to be recorded.
This is a convenience method that creates an instance of theRecordingStreamConfiguration.Builderavoiding the need to create one manually viaRecordingStreamConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreams(List<RecordingStreamConfiguration>).- Parameters:
streams- a consumer that will call methods onRecordingStreamConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fragmentSelector
KinesisVideoStreamRecordingSourceRuntimeConfiguration.Builder fragmentSelector(FragmentSelector fragmentSelector) Describes the timestamp range and timestamp origin of a range of fragments in the Kinesis video stream.
- Parameters:
fragmentSelector- Describes the timestamp range and timestamp origin of a range of fragments in the Kinesis video stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fragmentSelector
default KinesisVideoStreamRecordingSourceRuntimeConfiguration.Builder fragmentSelector(Consumer<FragmentSelector.Builder> fragmentSelector) Describes the timestamp range and timestamp origin of a range of fragments in the Kinesis video stream.
This is a convenience method that creates an instance of theFragmentSelector.Builderavoiding the need to create one manually viaFragmentSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofragmentSelector(FragmentSelector).- Parameters:
fragmentSelector- a consumer that will call methods onFragmentSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-