Class CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackagev2.CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty>
- Enclosing interface:
CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty
@Stability(Stable)
public static final class CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.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 CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty.Builder endpointErrorConditions(List<String> endpointErrorConditions) Sets the value ofCfnOriginEndpointPropsMixin.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
@Stability(Stable) public CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty>- Returns:
- a new instance of
CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-