Class CfnOriginEndpoint.DashBaseUrlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint.DashBaseUrlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpoint.DashBaseUrlProperty>
- Enclosing interface:
CfnOriginEndpoint.DashBaseUrlProperty
@Stability(Stable)
public static final class CfnOriginEndpoint.DashBaseUrlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint.DashBaseUrlProperty>
A builder for
CfnOriginEndpoint.DashBaseUrlProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dvbPriority
(Number dvbPriority) Sets the value ofCfnOriginEndpoint.DashBaseUrlProperty.getDvbPriority()
Sets the value ofCfnOriginEndpoint.DashBaseUrlProperty.getDvbWeight()
serviceLocation
(String serviceLocation) Sets the value ofCfnOriginEndpoint.DashBaseUrlProperty.getServiceLocation()
Sets the value ofCfnOriginEndpoint.DashBaseUrlProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
url
Sets the value ofCfnOriginEndpoint.DashBaseUrlProperty.getUrl()
- Parameters:
url
- A source location for segments. This parameter is required.- Returns:
this
-
dvbPriority
@Stability(Stable) public CfnOriginEndpoint.DashBaseUrlProperty.Builder dvbPriority(Number dvbPriority) Sets the value ofCfnOriginEndpoint.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
Sets the value ofCfnOriginEndpoint.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 CfnOriginEndpoint.DashBaseUrlProperty.Builder serviceLocation(String serviceLocation) Sets the value ofCfnOriginEndpoint.DashBaseUrlProperty.getServiceLocation()
- Parameters:
serviceLocation
- The name of the source location.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.DashBaseUrlProperty>
- Returns:
- a new instance of
CfnOriginEndpoint.DashBaseUrlProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-