Enum Class AWSMessageType

java.lang.Object
java.lang.Enum<AWSMessageType>
org.graylog.integrations.aws.AWSMessageType
All Implemented Interfaces:
Serializable, Comparable<AWSMessageType>, Constable

public enum AWSMessageType extends Enum<AWSMessageType>
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.
  • Enum Constant Details

    • KINESIS_RAW

      public static final AWSMessageType KINESIS_RAW
      A raw string stored in CloudWatch or Kinesis.
    • KINESIS_CLOUDWATCH_RAW

      public static final AWSMessageType KINESIS_CLOUDWATCH_RAW
    • KINESIS_CLOUDWATCH_FLOW_LOGS

      public static final AWSMessageType KINESIS_CLOUDWATCH_FLOW_LOGS
    • UNKNOWN

      public static final AWSMessageType UNKNOWN
  • Method Details

    • values

      public static AWSMessageType[] 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

      public static AWSMessageType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCodecFactory

      public Class<? extends Codec.Factory> getCodecFactory()
    • getTransportFactory

      public Class<? extends Transport.Factory> getTransportFactory()
    • getLabel

      public String getLabel()
    • getCodecName

      public String getCodecName()
    • getTransportName

      public String getTransportName()
    • isKinesis

      public boolean isKinesis()
      Returns:
      True if the AWSMessageType enum instance has a Kinesis source.
    • getMessageTypes

      public static List<AWSMessageType> getMessageTypes()
      Returns:
      Return all message types except for UNKNOWN.