Enum EventSourceName
- java.lang.Object
-
- java.lang.Enum<EventSourceName>
-
- in.erail.amazon.lambda.eventsource.EventSourceName
-
- All Implemented Interfaces:
Serializable,Comparable<EventSourceName>
public enum EventSourceName extends Enum<EventSourceName>
- Author:
- vinay
-
-
Enum Constant Summary
Enum Constants Enum Constant Description API_GATEWAYCODE_COMMITDEFAULTDYNAMODBKINESISS3SESSNSSQS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringevent()static EventSourceNamevalueOf(String name)Returns the enum constant of this type with the specified name.static EventSourceName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
S3
public static final EventSourceName S3
-
SQS
public static final EventSourceName SQS
-
CODE_COMMIT
public static final EventSourceName CODE_COMMIT
-
SNS
public static final EventSourceName SNS
-
API_GATEWAY
public static final EventSourceName API_GATEWAY
-
SES
public static final EventSourceName SES
-
KINESIS
public static final EventSourceName KINESIS
-
DYNAMODB
public static final EventSourceName DYNAMODB
-
DEFAULT
public static final EventSourceName DEFAULT
-
-
Method Detail
-
values
public static EventSourceName[] 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 (EventSourceName c : EventSourceName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventSourceName 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 nameNullPointerException- if the argument is null
-
event
public String event()
-
-