public enum TimestampValidationStrategy extends java.lang.Enum<TimestampValidationStrategy> implements NodeValidatorPlugin
NodeValidatorPlugin.Context| Enum Constant and Description |
|---|
EPOCH_SECONDS
Requires that the value provided for all timestamp shapes is a
unix timestamp.
|
FORMAT
Validates timestamps by requiring that the value uses matches the
resolved timestamp format, or is a unix timestamp or integer in the
case that a member or shape does not have a
timestampFormat
trait. |
| Modifier and Type | Method and Description |
|---|---|
static TimestampValidationStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimestampValidationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfapply, getBuiltinspublic static final TimestampValidationStrategy FORMAT
timestampFormat
trait.public static final TimestampValidationStrategy EPOCH_SECONDS
public static TimestampValidationStrategy[] values()
for (TimestampValidationStrategy c : TimestampValidationStrategy.values()) System.out.println(c);
public static TimestampValidationStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null