Class CfnOriginEndpoint.StartTagProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint.StartTagProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpoint.StartTagProperty>
- Enclosing interface:
CfnOriginEndpoint.StartTagProperty
@Stability(Stable)
public static final class CfnOriginEndpoint.StartTagProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint.StartTagProperty>
A builder for
CfnOriginEndpoint.StartTagProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnOriginEndpoint.StartTagProperty.getPrecise()precise(IResolvable precise) Sets the value ofCfnOriginEndpoint.StartTagProperty.getPrecise()timeOffset(Number timeOffset) Sets the value ofCfnOriginEndpoint.StartTagProperty.getTimeOffset()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
timeOffset
Sets the value ofCfnOriginEndpoint.StartTagProperty.getTimeOffset()- Parameters:
timeOffset- Specify the value for TIME-OFFSET within your EXT-X-START tag. This parameter is required. Enter a signed floating point value which, if positive, must be less than the configured manifest duration minus three times the configured segment target duration. If negative, the absolute value must be larger than three times the configured segment target duration, and the absolute value must be smaller than the configured manifest duration.- Returns:
this
-
precise
Sets the value ofCfnOriginEndpoint.StartTagProperty.getPrecise()- Parameters:
precise- Specify the value for PRECISE within your EXT-X-START tag. Leave blank, or choose false, to use the default value NO. Choose yes to use the value YES.- Returns:
this
-
precise
Sets the value ofCfnOriginEndpoint.StartTagProperty.getPrecise()- Parameters:
precise- Specify the value for PRECISE within your EXT-X-START tag. Leave blank, or choose false, to use the default value NO. Choose yes to use the value YES.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.StartTagProperty>- Returns:
- a new instance of
CfnOriginEndpoint.StartTagProperty - Throws:
NullPointerException- if any required attribute was not provided
-