public enum SourceType extends java.lang.Enum<SourceType>
CloudTrailSource
.
If there are multiple source types in Message
, the priority of source type is in the following order:
CloudTrailLog
, Other
.
Enum Constant and Description |
---|
CloudTrailLog
CloudTrail log file.
|
CloudTrailValidationMessage
CloudTrail Validation Message.
|
Other
Non-CloudTrail log file.
|
Modifier and Type | Method and Description |
---|---|
static SourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceType CloudTrailLog
public static final SourceType CloudTrailValidationMessage
public static final SourceType Other
public static SourceType[] values()
for (SourceType c : SourceType.values()) System.out.println(c);
public static SourceType 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