@Generated(value="software.amazon.awssdk:codegen") public final class SourceType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceType.Builder,SourceType>
The supported source types from which logs and events are collected in Amazon Security Lake. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceType.Builder |
static class |
SourceType.Type |
| Modifier and Type | Method and Description |
|---|---|
AwsLogSourceType |
awsSourceType()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
String |
awsSourceTypeAsString()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
static SourceType.Builder |
builder() |
String |
customSourceType()
Amazon Security Lake supports custom source types.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static SourceType |
fromAwsSourceType(AwsLogSourceType awsSourceType)
Create an instance of this class with
awsSourceTypeAsString() initialized to the given value. |
static SourceType |
fromAwsSourceType(String awsSourceType)
Create an instance of this class with
awsSourceTypeAsString() initialized to the given value. |
static SourceType |
fromCustomSourceType(String customSourceType)
Create an instance of this class with
customSourceType() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceType.Builder> |
serializableBuilderClass() |
SourceType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SourceType.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AwsLogSourceType awsSourceType()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
If the service returns an enum value that is not available in the current SDK version, awsSourceType
will return AwsLogSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from awsSourceTypeAsString().
AwsLogSourceTypepublic final String awsSourceTypeAsString()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
If the service returns an enum value that is not available in the current SDK version, awsSourceType
will return AwsLogSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from awsSourceTypeAsString().
AwsLogSourceTypepublic final String customSourceType()
Amazon Security Lake supports custom source types. For a detailed list, see the Amazon Security Lake User Guide.
public SourceType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SourceType.Builder,SourceType>public static SourceType.Builder builder()
public static Class<? extends SourceType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static SourceType fromAwsSourceType(String awsSourceType)
awsSourceTypeAsString() initialized to the given value.
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
awsSourceType - Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.AwsLogSourceTypepublic static SourceType fromAwsSourceType(AwsLogSourceType awsSourceType)
awsSourceTypeAsString() initialized to the given value.
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
awsSourceType - Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.AwsLogSourceTypepublic static SourceType fromCustomSourceType(String customSourceType)
customSourceType() initialized to the given value.
Amazon Security Lake supports custom source types. For a detailed list, see the Amazon Security Lake User Guide.
customSourceType - Amazon Security Lake supports custom source types. For a detailed list, see the Amazon Security Lake User
Guide.public SourceType.Type type()
SourceType.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be SourceType.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.