Enum Class ServiceIndex.AuthSchemeMode

java.lang.Object
java.lang.Enum<ServiceIndex.AuthSchemeMode>
software.amazon.smithy.model.knowledge.ServiceIndex.AuthSchemeMode
All Implemented Interfaces:
Serializable, Comparable<ServiceIndex.AuthSchemeMode>, Constable
Enclosing class:
ServiceIndex

public static enum ServiceIndex.AuthSchemeMode extends Enum<ServiceIndex.AuthSchemeMode>
  • Enum Constant Details

    • MODELED

      public static final ServiceIndex.AuthSchemeMode MODELED
      Use only the modeled auth schemes. This is the default.
    • NO_AUTH_AWARE

      public static final ServiceIndex.AuthSchemeMode NO_AUTH_AWARE
      Use the modeled auth schemes, as well as the synthetic NoAuthTrait where applicable.

      The Smithy Reference Architecture recommends using the smithy.api#noAuth auth scheme to represent no authentication which is available as the NoAuthTrait.

  • Method Details

    • values

      public static ServiceIndex.AuthSchemeMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ServiceIndex.AuthSchemeMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null