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