java.lang.Object
java.lang.Enum<Type>
software.amazon.awscdk.services.appsync.Type
All Implemented Interfaces:
Serializable, Comparable<Type>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.576Z") @Stability(Experimental) public enum Type extends Enum<Type>
(experimental) Enum containing the Types that can be used to define ObjectTypes.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    (experimental) AWSDate scalar type represents a valid extended ISO 8601 Date string.
    (experimental) AWSDateTime scalar type represents a valid extended ISO 8601 DateTime string.
    (experimental) AWSEmail scalar type represents an email address string (i.e.username@example.com).
    (experimental) AWSIPAddress scalar type respresents a valid IPv4 of IPv6 address string.
    (experimental) AWSJson scalar type represents a JSON string.
    (experimental) AWSPhone scalar type represents a valid phone number.
    (experimental) AWSTime scalar type represents a valid extended ISO 8601 Time string.
    (experimental) AWSTimestamp scalar type represents the number of seconds since 1970-01-01T00:00Z.
    (experimental) AWSURL scalar type represetns a valid URL string.
    (experimental) Boolean scalar type is a boolean value: true or false.
    (experimental) Float scalar type is a signed double-precision fractional value.
    (experimental) ID scalar type is a unique identifier.
    (experimental) Int scalar type is a signed non-fractional numerical value.
    (experimental) Type used for Intermediate Types (i.e.
    (experimental) String scalar type is a free-form human-readable text.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Type
    Returns the enum constant of this type with the specified name.
    static Type[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ID

      @Stability(Experimental) public static final Type ID
      (experimental) ID scalar type is a unique identifier. ID type is serialized similar to String.

      Often used as a key for a cache and not intended to be human-readable.

    • STRING

      @Stability(Experimental) public static final Type STRING
      (experimental) String scalar type is a free-form human-readable text.
    • INT

      @Stability(Experimental) public static final Type INT
      (experimental) Int scalar type is a signed non-fractional numerical value.
    • FLOAT

      @Stability(Experimental) public static final Type FLOAT
      (experimental) Float scalar type is a signed double-precision fractional value.
    • BOOLEAN

      @Stability(Experimental) public static final Type BOOLEAN
      (experimental) Boolean scalar type is a boolean value: true or false.
    • AWS_DATE

      @Stability(Experimental) public static final Type AWS_DATE
      (experimental) AWSDate scalar type represents a valid extended ISO 8601 Date string.

      In other words, accepts date strings in the form of YYYY-MM-DD. It accepts time zone offsets.

      See Also:
    • AWS_TIME

      @Stability(Experimental) public static final Type AWS_TIME
      (experimental) AWSTime scalar type represents a valid extended ISO 8601 Time string.

      In other words, accepts date strings in the form of hh:mm:ss.sss. It accepts time zone offsets.

      See Also:
    • AWS_DATE_TIME

      @Stability(Experimental) public static final Type AWS_DATE_TIME
      (experimental) AWSDateTime scalar type represents a valid extended ISO 8601 DateTime string.

      In other words, accepts date strings in the form of YYYY-MM-DDThh:mm:ss.sssZ. It accepts time zone offsets.

      See Also:
    • AWS_TIMESTAMP

      @Stability(Experimental) public static final Type AWS_TIMESTAMP
      (experimental) AWSTimestamp scalar type represents the number of seconds since 1970-01-01T00:00Z.

      Timestamps are serialized and deserialized as numbers.

    • AWS_EMAIL

      @Stability(Experimental) public static final Type AWS_EMAIL
      (experimental) AWSEmail scalar type represents an email address string (i.e.username@example.com).
    • AWS_JSON

      @Stability(Experimental) public static final Type AWS_JSON
      (experimental) AWSJson scalar type represents a JSON string.
    • AWS_URL

      @Stability(Experimental) public static final Type AWS_URL
      (experimental) AWSURL scalar type represetns a valid URL string.

      URLs wihtout schemes or contain double slashes are considered invalid.

    • AWS_PHONE

      @Stability(Experimental) public static final Type AWS_PHONE
      (experimental) AWSPhone scalar type represents a valid phone number. Phone numbers maybe be whitespace delimited or hyphenated.

      The number can specify a country code at the beginning, but is not required for US phone numbers.

    • AWS_IP_ADDRESS

      @Stability(Experimental) public static final Type AWS_IP_ADDRESS
      (experimental) AWSIPAddress scalar type respresents a valid IPv4 of IPv6 address string.
    • INTERMEDIATE

      @Stability(Experimental) public static final Type INTERMEDIATE
      (experimental) Type used for Intermediate Types (i.e. an interface or an object type).
  • Method Details

    • values

      public static Type[] 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 Type 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