Package io.aws.lambda.events.dynamodb
Enum StreamRecord.StreamViewType
- java.lang.Object
-
- java.lang.Enum<StreamRecord.StreamViewType>
-
- io.aws.lambda.events.dynamodb.StreamRecord.StreamViewType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<StreamRecord.StreamViewType>
- Enclosing class:
- StreamRecord
public static enum StreamRecord.StreamViewType extends java.lang.Enum<StreamRecord.StreamViewType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KEYS_ONLYNEW_AND_OLD_IMAGESNEW_IMAGEOLD_IMAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StreamRecord.StreamViewTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StreamRecord.StreamViewType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW_IMAGE
public static final StreamRecord.StreamViewType NEW_IMAGE
-
OLD_IMAGE
public static final StreamRecord.StreamViewType OLD_IMAGE
-
NEW_AND_OLD_IMAGES
public static final StreamRecord.StreamViewType NEW_AND_OLD_IMAGES
-
KEYS_ONLY
public static final StreamRecord.StreamViewType KEYS_ONLY
-
-
Method Detail
-
values
public static StreamRecord.StreamViewType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StreamRecord.StreamViewType c : StreamRecord.StreamViewType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamRecord.StreamViewType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-