Class DashDvbMetricsReporting.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.alpha.DashDvbMetricsReporting.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DashDvbMetricsReporting>
- Enclosing interface:
DashDvbMetricsReporting
@Stability(Experimental)
public static final class DashDvbMetricsReporting.Builder
extends Object
implements software.amazon.jsii.Builder<DashDvbMetricsReporting>
A builder for
DashDvbMetricsReporting-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.probability(Number probability) Sets the value ofDashDvbMetricsReporting.getProbability()reportingUrl(String reportingUrl) Sets the value ofDashDvbMetricsReporting.getReportingUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reportingUrl
Sets the value ofDashDvbMetricsReporting.getReportingUrl()- Parameters:
reportingUrl- The URL where playback devices send error reports. This parameter is required.- Returns:
this
-
probability
Sets the value ofDashDvbMetricsReporting.getProbability()- Parameters:
probability- The number of playback devices per 1000 that will send error reports to the reporting URL. This represents the probability that a playback device will be a reporting player for this session.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DashDvbMetricsReporting>- Returns:
- a new instance of
DashDvbMetricsReporting - Throws:
NullPointerException- if any required attribute was not provided
-