Class CfnOriginEndpointPropsMixin.DashBaseUrlProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackagev2.CfnOriginEndpointPropsMixin.DashBaseUrlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.DashBaseUrlProperty>
- Enclosing interface:
CfnOriginEndpointPropsMixin.DashBaseUrlProperty
@Stability(Stable)
public static final class CfnOriginEndpointPropsMixin.DashBaseUrlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.DashBaseUrlProperty>
A builder for
CfnOriginEndpointPropsMixin.DashBaseUrlProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dvbPriority(Number dvbPriority) Sets the value ofCfnOriginEndpointPropsMixin.DashBaseUrlProperty.getDvbPriority()Sets the value ofCfnOriginEndpointPropsMixin.DashBaseUrlProperty.getDvbWeight()serviceLocation(String serviceLocation) Sets the value ofCfnOriginEndpointPropsMixin.DashBaseUrlProperty.getServiceLocation()Sets the value ofCfnOriginEndpointPropsMixin.DashBaseUrlProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dvbPriority
@Stability(Stable) public CfnOriginEndpointPropsMixin.DashBaseUrlProperty.Builder dvbPriority(Number dvbPriority) Sets the value ofCfnOriginEndpointPropsMixin.DashBaseUrlProperty.getDvbPriority()- Parameters:
dvbPriority- For use with DVB-DASH profiles only. The priority of this location for servings segments. The lower the number, the higher the priority.- Returns:
this
-
dvbWeight
@Stability(Stable) public CfnOriginEndpointPropsMixin.DashBaseUrlProperty.Builder dvbWeight(Number dvbWeight) Sets the value ofCfnOriginEndpointPropsMixin.DashBaseUrlProperty.getDvbWeight()- Parameters:
dvbWeight- For use with DVB-DASH profiles only. The weighting for source locations that have the same priority.- Returns:
this
-
serviceLocation
@Stability(Stable) public CfnOriginEndpointPropsMixin.DashBaseUrlProperty.Builder serviceLocation(String serviceLocation) Sets the value ofCfnOriginEndpointPropsMixin.DashBaseUrlProperty.getServiceLocation()- Parameters:
serviceLocation- The name of the source location.- Returns:
this
-
url
Sets the value ofCfnOriginEndpointPropsMixin.DashBaseUrlProperty.getUrl()- Parameters:
url- A source location for segments.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.DashBaseUrlProperty>- Returns:
- a new instance of
CfnOriginEndpointPropsMixin.DashBaseUrlProperty - Throws:
NullPointerException- if any required attribute was not provided
-