Class FailoverFailoverOptions.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class FailoverFailoverOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FailoverFailoverOptions
An implementation for FailoverFailoverOptions
  • 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(FailoverFailoverOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FailoverFailoverOptions.Builder.
  • Method Details

    • getPrimarySource

      public final String getPrimarySource()
      Description copied from interface: FailoverFailoverOptions
      (experimental) The name of the source you want to treat as primary.

      If set, MediaConnect always uses this source when it is available. When unset, both sources are treated with equal priority.

      Default: - both sources are equal priority

      Specified by:
      getPrimarySource in interface FailoverFailoverOptions
    • getState

      public final State getState()
      Description copied from interface: FailoverFailoverOptions
      (experimental) Whether failover is enabled.

      Set to State.DISABLED to keep the configuration on the flow without switching failover on.

      Default: State.ENABLED

      Specified by:
      getState in interface FailoverFailoverOptions
    • $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