Class CfnOriginEndpoint.DashDvbMetricsReportingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint.DashDvbMetricsReportingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpoint.DashDvbMetricsReportingProperty>
- Enclosing interface:
CfnOriginEndpoint.DashDvbMetricsReportingProperty
@Stability(Stable)
public static final class CfnOriginEndpoint.DashDvbMetricsReportingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint.DashDvbMetricsReportingProperty>
A builder for
CfnOriginEndpoint.DashDvbMetricsReportingProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.probability
(Number probability) Sets the value ofCfnOriginEndpoint.DashDvbMetricsReportingProperty.getProbability()
reportingUrl
(String reportingUrl) Sets the value ofCfnOriginEndpoint.DashDvbMetricsReportingProperty.getReportingUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reportingUrl
@Stability(Stable) public CfnOriginEndpoint.DashDvbMetricsReportingProperty.Builder reportingUrl(String reportingUrl) Sets the value ofCfnOriginEndpoint.DashDvbMetricsReportingProperty.getReportingUrl()
- Parameters:
reportingUrl
- The URL where playback devices send error reports. This parameter is required.- Returns:
this
-
probability
@Stability(Stable) public CfnOriginEndpoint.DashDvbMetricsReportingProperty.Builder probability(Number probability) Sets the value ofCfnOriginEndpoint.DashDvbMetricsReportingProperty.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.DashDvbMetricsReportingProperty>
- Returns:
- a new instance of
CfnOriginEndpoint.DashDvbMetricsReportingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-