@Generated(value="software.amazon.awssdk:codegen") public final class LogSourceResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogSourceResource.Builder,LogSourceResource>
The supported source types from which logs and events are collected in Amazon Security Lake. For a list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LogSourceResource.Builder |
static class |
LogSourceResource.Type |
| Modifier and Type | Method and Description |
|---|---|
AwsLogSourceResource |
awsLogSource()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
static LogSourceResource.Builder |
builder() |
CustomLogSourceResource |
customLogSource()
Amazon Security Lake supports custom source types.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static LogSourceResource |
fromAwsLogSource(AwsLogSourceResource awsLogSource)
Create an instance of this class with
awsLogSource() initialized to the given value. |
static LogSourceResource |
fromAwsLogSource(Consumer<AwsLogSourceResource.Builder> awsLogSource)
Create an instance of this class with
awsLogSource() initialized to the given value. |
static LogSourceResource |
fromCustomLogSource(Consumer<CustomLogSourceResource.Builder> customLogSource)
Create an instance of this class with
customLogSource() initialized to the given value. |
static LogSourceResource |
fromCustomLogSource(CustomLogSourceResource customLogSource)
Create an instance of this class with
customLogSource() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LogSourceResource.Builder> |
serializableBuilderClass() |
LogSourceResource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
LogSourceResource.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AwsLogSourceResource awsLogSource()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
public final CustomLogSourceResource customLogSource()
Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake User Guide.
public LogSourceResource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LogSourceResource.Builder,LogSourceResource>public static LogSourceResource.Builder builder()
public static Class<? extends LogSourceResource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static LogSourceResource fromAwsLogSource(AwsLogSourceResource awsLogSource)
awsLogSource() initialized to the given value.
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
awsLogSource - Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For
more information, see the Amazon Security
Lake User Guide.public static LogSourceResource fromAwsLogSource(Consumer<AwsLogSourceResource.Builder> awsLogSource)
awsLogSource() initialized to the given value.
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
awsLogSource - Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For
more information, see the Amazon Security
Lake User Guide.public static LogSourceResource fromCustomLogSource(CustomLogSourceResource customLogSource)
customLogSource() initialized to the given value.
Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake User Guide.
customLogSource - Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake
User Guide.public static LogSourceResource fromCustomLogSource(Consumer<CustomLogSourceResource.Builder> customLogSource)
customLogSource() initialized to the given value.
Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake User Guide.
customLogSource - Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake
User Guide.public LogSourceResource.Type type()
LogSourceResource.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 LogSourceResource.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.