Class CfnAlias.RoutingStrategyProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.gamelift.CfnAlias.RoutingStrategyProperty.Jsii$Proxy
All Implemented Interfaces:
CfnAlias.RoutingStrategyProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnAlias.RoutingStrategyProperty

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

    • getType

      public final String getType()
      Description copied from interface: CfnAlias.RoutingStrategyProperty
      A type of routing strategy.

      Possible routing types include the following:

      • SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.
      • TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the message that you specified in the Message property.
      Specified by:
      getType in interface CfnAlias.RoutingStrategyProperty
    • getFleetId

      public final String getFleetId()
      Description copied from interface: CfnAlias.RoutingStrategyProperty
      A unique identifier for a fleet that the alias points to.

      If you specify SIMPLE for the Type property, you must specify this property.

      Specified by:
      getFleetId in interface CfnAlias.RoutingStrategyProperty
    • getMessage

      public final String getMessage()
      Description copied from interface: CfnAlias.RoutingStrategyProperty
      The message text to be used with a terminal routing strategy.

      If you specify TERMINAL for the Type property, you must specify this property.

      Specified by:
      getMessage in interface CfnAlias.RoutingStrategyProperty
    • $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