Class SegmentPropsBase.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.alpha.SegmentPropsBase.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SegmentPropsBase>
- Enclosing interface:
SegmentPropsBase
@Stability(Experimental)
public static final class SegmentPropsBase.Builder
extends Object
implements software.amazon.jsii.Builder<SegmentPropsBase>
A builder for
SegmentPropsBase-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSegmentPropsBase.getDuration()includeIframeOnlyStreams(Boolean includeIframeOnlyStreams) Sets the value ofSegmentPropsBase.getIncludeIframeOnlyStreams()Sets the value ofSegmentPropsBase.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
duration
Sets the value ofSegmentPropsBase.getDuration()- Parameters:
duration- Duration of each segment.- Returns:
this
-
includeIframeOnlyStreams
@Stability(Experimental) public SegmentPropsBase.Builder includeIframeOnlyStreams(Boolean includeIframeOnlyStreams) Sets the value ofSegmentPropsBase.getIncludeIframeOnlyStreams()- Parameters:
includeIframeOnlyStreams- Whether to include I-frame-only streams.- Returns:
this
-
name
Sets the value ofSegmentPropsBase.getName()- Parameters:
name- Name of the segment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SegmentPropsBase>- Returns:
- a new instance of
SegmentPropsBase - Throws:
NullPointerException- if any required attribute was not provided
-