Class CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty>
- Enclosing interface:
CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty
@Stability(Stable)
public static final class CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endpointErrorConditions(List<String> endpointErrorConditions)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointErrorConditions
@Stability(Stable) public CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty.Builder endpointErrorConditions(List<String> endpointErrorConditions) Sets the value ofCfnOriginEndpoint.ForceEndpointErrorConfigurationProperty.getEndpointErrorConditions()- Parameters:
endpointErrorConditions- The failover conditions for the endpoint. The options are:.STALE_MANIFEST- The manifest stalled and there are no new segments or parts.INCOMPLETE_MANIFEST- There is a gap in the manifest.MISSING_DRM_KEY- Key rotation is enabled but we're unable to fetch the key for the current key period.SLATE_INPUT- The segments which contain slate content are considered to be missing content.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty>- Returns:
- a new instance of
CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-