Package org.graylog.integrations.aws
Enum Class AWSMessageType
- All Implemented Interfaces:
Serializable,Comparable<AWSMessageType>,Constable
Identifies the type of input for a particular log source (eg. CloudWatch or Kinesis) and
log format.
This type will be saved with the input to indicate which transport and codec should be used.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEach source will require its own specific set of input configuration fields.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA raw string stored in CloudWatch or Kinesis. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Codec.Factory>getLabel()static List<AWSMessageType>Class<? extends Transport.Factory>booleanstatic AWSMessageTypeReturns the enum constant of this class with the specified name.static AWSMessageType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KINESIS_RAW
A raw string stored in CloudWatch or Kinesis. -
KINESIS_CLOUDWATCH_RAW
-
KINESIS_CLOUDWATCH_FLOW_LOGS
-
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getCodecFactory
-
getTransportFactory
-
getLabel
-
getCodecName
-
getTransportName
-
isKinesis
public boolean isKinesis()- Returns:
- True if the
AWSMessageTypeenum instance has a Kinesis source.
-
getMessageTypes
- Returns:
- Return all message types except for UNKNOWN.
-