Enum ViolationCode

java.lang.Object
java.lang.Enum<ViolationCode>
software.amazon.awssdk.services.amplifygen3.model.ViolationCode
All Implemented Interfaces:
Serializable, Comparable<ViolationCode>

@Generated("software.amazon.awssdk:codegen") public enum ViolationCode extends Enum<ViolationCode>
  • Enum Constant Details

    • APP_LIMIT

      public static final ViolationCode APP_LIMIT
    • ENVIRONMENT_LIMIT

      public static final ViolationCode ENVIRONMENT_LIMIT
    • BACKEND_LIMIT

      public static final ViolationCode BACKEND_LIMIT
    • BRANCH_LIMIT

      public static final ViolationCode BRANCH_LIMIT
    • BRANCH_STORAGE_LIMIT

      public static final ViolationCode BRANCH_STORAGE_LIMIT
    • DATABASE_MAX_CAPACITY_LIMIT

      public static final ViolationCode DATABASE_MAX_CAPACITY_LIMIT
    • DATABASE_BACKUP_RETENTION_LIMIT

      public static final ViolationCode DATABASE_BACKUP_RETENTION_LIMIT
    • GRADUAL_DEPLOY

      public static final ViolationCode GRADUAL_DEPLOY
    • VPC_BINDING

      public static final ViolationCode VPC_BINDING
    • OIDC

      public static final ViolationCode OIDC
    • UNKNOWN_TO_SDK_VERSION

      public static final ViolationCode UNKNOWN_TO_SDK_VERSION
  • Method Details

    • values

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

      public static ViolationCode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ViolationCode>
    • fromValue

      public static ViolationCode fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      ViolationCode corresponding to the value
    • knownValues

      public static Set<ViolationCode> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known ViolationCodes