public static interface AccountSources.Builder extends SdkPojo, CopyableBuilder<AccountSources.Builder,AccountSources>
| Modifier and Type | Method and Description |
|---|---|
AccountSources.Builder |
account(String account)
The ID of the Security Lake account for which logs are collected.
|
AccountSources.Builder |
eventClass(OcsfEventClass eventClass)
Initializes a new instance of the Event class.
|
AccountSources.Builder |
eventClass(String eventClass)
Initializes a new instance of the Event class.
|
AccountSources.Builder |
logsStatus(Collection<LogsStatus> logsStatus)
The log status for the Security Lake account.
|
AccountSources.Builder |
logsStatus(Consumer<LogsStatus.Builder>... logsStatus)
The log status for the Security Lake account.
|
AccountSources.Builder |
logsStatus(LogsStatus... logsStatus)
The log status for the Security Lake account.
|
AccountSources.Builder |
sourceType(String sourceType)
The supported Amazon Web Services from which logs and events are collected.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAccountSources.Builder account(String account)
The ID of the Security Lake account for which logs are collected.
account - The ID of the Security Lake account for which logs are collected.AccountSources.Builder eventClass(String eventClass)
Initializes a new instance of the Event class.
eventClass - Initializes a new instance of the Event class.OcsfEventClass,
OcsfEventClassAccountSources.Builder eventClass(OcsfEventClass eventClass)
Initializes a new instance of the Event class.
eventClass - Initializes a new instance of the Event class.OcsfEventClass,
OcsfEventClassAccountSources.Builder logsStatus(Collection<LogsStatus> logsStatus)
The log status for the Security Lake account.
logsStatus - The log status for the Security Lake account.AccountSources.Builder logsStatus(LogsStatus... logsStatus)
The log status for the Security Lake account.
logsStatus - The log status for the Security Lake account.AccountSources.Builder logsStatus(Consumer<LogsStatus.Builder>... logsStatus)
The log status for the Security Lake account.
This is a convenience method that creates an instance of theLogsStatus.Builder avoiding the need to create one
manually via LogsStatus.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #logsStatus(List.
logsStatus - a consumer that will call methods on
LogsStatus.Builder#logsStatus(java.util.Collection) AccountSources.Builder sourceType(String sourceType)
The supported Amazon Web Services from which logs and events are collected. Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
sourceType - The supported Amazon Web Services from which logs and events are collected. Amazon Security Lake
supports log and event collection for natively supported Amazon Web Services.Copyright © 2023. All rights reserved.