Class CfnFlow.FailoverConfigProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.mediaconnect.CfnFlow.FailoverConfigProperty.Jsii$Proxy
All Implemented Interfaces:
CfnFlow.FailoverConfigProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnFlow.FailoverConfigProperty

@Stability(Stable) @Internal public static final class CfnFlow.FailoverConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnFlow.FailoverConfigProperty
An implementation for CfnFlow.FailoverConfigProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnFlow.FailoverConfigProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnFlow.FailoverConfigProperty.Builder.
  • Method Details

    • getFailoverMode

      public final String getFailoverMode()
      Description copied from interface: CfnFlow.FailoverConfigProperty
      The type of failover you choose for this flow.

      MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams. The string for this property must be entered as MERGE or FAILOVER. No other string entry is valid.

      Specified by:
      getFailoverMode in interface CfnFlow.FailoverConfigProperty
    • getRecoveryWindow

      public final Number getRecoveryWindow()
      Description copied from interface: CfnFlow.FailoverConfigProperty
      The size of the buffer (delay) that the service maintains.

      A larger buffer means a longer delay in transmitting the stream, but more room for error correction. A smaller buffer means a shorter delay, but less room for error correction. You can choose a value from 100-500 ms. If you keep this field blank, the service uses the default value of 200 ms. This setting only applies when Failover Mode is set to MERGE.

      Specified by:
      getRecoveryWindow in interface CfnFlow.FailoverConfigProperty
    • getSourcePriority

      public final Object getSourcePriority()
      Description copied from interface: CfnFlow.FailoverConfigProperty
      The priority you want to assign to a source.

      You can have a primary stream and a backup stream or two equally prioritized streams. This setting only applies when Failover Mode is set to FAILOVER.

      Specified by:
      getSourcePriority in interface CfnFlow.FailoverConfigProperty
    • getState

      public final String getState()
      Description copied from interface: CfnFlow.FailoverConfigProperty
      The state of source failover on the flow.

      If the state is inactive, the flow can have only one source. If the state is active, the flow can have one or two sources.

      Specified by:
      getState in interface CfnFlow.FailoverConfigProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object