Interface VideoSegmentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VideoSegmentConfiguration.Builder,
,VideoSegmentConfiguration> SdkBuilder<VideoSegmentConfiguration.Builder,
,VideoSegmentConfiguration> SdkPojo
- Enclosing class:
VideoSegmentConfiguration
@Mutable
@NotThreadSafe
public static interface VideoSegmentConfiguration.Builder
extends SdkPojo, CopyableBuilder<VideoSegmentConfiguration.Builder,VideoSegmentConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiontimestampSegment
(Consumer<TimestampSegment.Builder> timestampSegment) Timestamp segmenttimestampSegment
(TimestampSegment timestampSegment) Timestamp segmentMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
timestampSegment
Timestamp segment
- Parameters:
timestampSegment
- Timestamp segment- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampSegment
default VideoSegmentConfiguration.Builder timestampSegment(Consumer<TimestampSegment.Builder> timestampSegment) Timestamp segment
This is a convenience method that creates an instance of theTimestampSegment.Builder
avoiding the need to create one manually viaTimestampSegment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimestampSegment(TimestampSegment)
.- Parameters:
timestampSegment
- a consumer that will call methods onTimestampSegment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-