Interface DataLakeSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataLakeSource.Builder,DataLakeSource>,SdkBuilder<DataLakeSource.Builder,DataLakeSource>,SdkPojo
- Enclosing class:
- DataLakeSource
public static interface DataLakeSource.Builder extends SdkPojo, CopyableBuilder<DataLakeSource.Builder,DataLakeSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataLakeSource.Builderaccount(String account)The ID of the Security Lake account for which logs are collected.DataLakeSource.BuildereventClasses(String... eventClasses)The Open Cybersecurity Schema Framework (OCSF) event classes describes the type of data that the custom source will send to Security Lake.DataLakeSource.BuildereventClasses(Collection<String> eventClasses)The Open Cybersecurity Schema Framework (OCSF) event classes describes the type of data that the custom source will send to Security Lake.DataLakeSource.BuildersourceName(String sourceName)The supported Amazon Web Services services from which logs and events are collected.DataLakeSource.BuildersourceStatuses(Collection<DataLakeSourceStatus> sourceStatuses)The log status for the Security Lake account.DataLakeSource.BuildersourceStatuses(Consumer<DataLakeSourceStatus.Builder>... sourceStatuses)The log status for the Security Lake account.DataLakeSource.BuildersourceStatuses(DataLakeSourceStatus... sourceStatuses)The log status for the Security Lake account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
account
DataLakeSource.Builder account(String account)
The ID of the Security Lake account for which logs are collected.
- Parameters:
account- The ID of the Security Lake account for which logs are collected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventClasses
DataLakeSource.Builder eventClasses(Collection<String> eventClasses)
The Open Cybersecurity Schema Framework (OCSF) event classes describes the type of data that the custom source will send to Security Lake. For the list of supported event classes, see Supported OCSF Event classes in the Amazon Security Lake User Guide.
- Parameters:
eventClasses- The Open Cybersecurity Schema Framework (OCSF) event classes describes the type of data that the custom source will send to Security Lake. For the list of supported event classes, see Supported OCSF Event classes in the Amazon Security Lake User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventClasses
DataLakeSource.Builder eventClasses(String... eventClasses)
The Open Cybersecurity Schema Framework (OCSF) event classes describes the type of data that the custom source will send to Security Lake. For the list of supported event classes, see Supported OCSF Event classes in the Amazon Security Lake User Guide.
- Parameters:
eventClasses- The Open Cybersecurity Schema Framework (OCSF) event classes describes the type of data that the custom source will send to Security Lake. For the list of supported event classes, see Supported OCSF Event classes in the Amazon Security Lake User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceName
DataLakeSource.Builder sourceName(String sourceName)
The supported Amazon Web Services services from which logs and events are collected. Amazon Security Lake supports log and event collection for natively supported Amazon Web Services services.
- Parameters:
sourceName- The supported Amazon Web Services services from which logs and events are collected. Amazon Security Lake supports log and event collection for natively supported Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceStatuses
DataLakeSource.Builder sourceStatuses(Collection<DataLakeSourceStatus> sourceStatuses)
The log status for the Security Lake account.
- Parameters:
sourceStatuses- The log status for the Security Lake account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceStatuses
DataLakeSource.Builder sourceStatuses(DataLakeSourceStatus... sourceStatuses)
The log status for the Security Lake account.
- Parameters:
sourceStatuses- The log status for the Security Lake account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceStatuses
DataLakeSource.Builder sourceStatuses(Consumer<DataLakeSourceStatus.Builder>... sourceStatuses)
The log status for the Security Lake account.
This is a convenience method that creates an instance of theDataLakeSourceStatus.Builderavoiding the need to create one manually viaDataLakeSourceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sourceStatuses(List.) - Parameters:
sourceStatuses- a consumer that will call methods onDataLakeSourceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sourceStatuses(java.util.Collection)
-
-