public static interface AccountSources.Builder extends SdkPojo, CopyableBuilder<AccountSources.Builder,AccountSources>
| Modifier and Type | Method and Description |
|---|---|
AccountSources.Builder |
account(String account)
Account 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)
Log status for the Security Lake account.
|
AccountSources.Builder |
logsStatus(Consumer<LogsStatus.Builder>... logsStatus)
Log status for the Security Lake account.
|
AccountSources.Builder |
logsStatus(LogsStatus... logsStatus)
Log status for the Security Lake account.
|
AccountSources.Builder |
sourceType(String sourceType)
The supported Amazon Web Services services from which logs and events are collected.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAccountSources.Builder account(String account)
Account ID of the Security Lake account for which logs are collected.
account - Account 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)
Log status for the Security Lake account.
logsStatus - Log status for the Security Lake account.AccountSources.Builder logsStatus(LogsStatus... logsStatus)
Log status for the Security Lake account.
logsStatus - Log status for the Security Lake account.AccountSources.Builder logsStatus(Consumer<LogsStatus.Builder>... logsStatus)
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 services from which logs and events are collected. Amazon Security Lake supports logs and events collection for natively-supported Amazon Web Services services. For more information, see the Amazon Security Lake User Guide.
sourceType - The supported Amazon Web Services services from which logs and events are collected. Amazon Security
Lake supports logs and events collection for natively-supported Amazon Web Services services. For more
information, see the Amazon Security Lake User Guide.Copyright © 2022. All rights reserved.