@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:42.888Z") @Stability(value=Experimental) public enum Type extends Enum<Type>
| Enum Constant and Description |
|---|
AWS_DATE
(experimental) `AWSDate` scalar type represents a valid extended `ISO 8601 Date` string.
|
AWS_DATE_TIME
(experimental) `AWSDateTime` scalar type represents a valid extended `ISO 8601 DateTime` string.
|
AWS_EMAIL
(experimental) `AWSEmail` scalar type represents an email address string (i.e.`username@example.com`).
|
AWS_IP_ADDRESS
(experimental) `AWSIPAddress` scalar type respresents a valid `IPv4` of `IPv6` address string.
|
AWS_JSON
(experimental) `AWSJson` scalar type represents a JSON string.
|
AWS_PHONE
(experimental) `AWSPhone` scalar type represents a valid phone number.
|
AWS_TIME
(experimental) `AWSTime` scalar type represents a valid extended `ISO 8601 Time` string.
|
AWS_TIMESTAMP
(experimental) `AWSTimestamp` scalar type represents the number of seconds since `1970-01-01T00:00Z`.
|
AWS_URL
(experimental) `AWSURL` scalar type represetns a valid URL string.
|
BOOLEAN
(experimental) `Boolean` scalar type is a boolean value: true or false.
|
FLOAT
(experimental) `Float` scalar type is a signed double-precision fractional value.
|
ID
(experimental) `ID` scalar type is a unique identifier.
|
INT
(experimental) `Int` scalar type is a signed non-fractional numerical value.
|
INTERMEDIATE
(experimental) Type used for Intermediate Types (i.e.
|
STRING
(experimental) `String` scalar type is a free-form human-readable text.
|
| Modifier and Type | Method and Description |
|---|---|
static Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final Type ID
Often used as a key for a cache and not intended to be human-readable.
@Stability(value=Experimental) public static final Type STRING
@Stability(value=Experimental) public static final Type INT
@Stability(value=Experimental) public static final Type FLOAT
@Stability(value=Experimental) public static final Type BOOLEAN
@Stability(value=Experimental) public static final Type AWS_DATE
In other words, accepts date strings in the form of YYYY-MM-DD. It accepts time zone offsets.
@Stability(value=Experimental) public static final Type AWS_TIME
In other words, accepts date strings in the form of hh:mm:ss.sss. It accepts time zone offsets.
@Stability(value=Experimental) public static final Type AWS_DATE_TIME
In other words, accepts date strings in the form of YYYY-MM-DDThh:mm:ss.sssZ. It accepts time zone offsets.
@Stability(value=Experimental) public static final Type AWS_TIMESTAMP
Timestamps are serialized and deserialized as numbers.
@Stability(value=Experimental) public static final Type AWS_EMAIL
@Stability(value=Experimental) public static final Type AWS_JSON
@Stability(value=Experimental) public static final Type AWS_URL
URLs wihtout schemes or contain double slashes are considered invalid.
@Stability(value=Experimental) public static final Type AWS_PHONE
The number can specify a country code at the beginning, but is not required for US phone numbers.
@Stability(value=Experimental) public static final Type AWS_IP_ADDRESS
@Stability(value=Experimental) public static final Type INTERMEDIATE
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.