Interface DataLakeSource.Builder

  • Method Details

    • 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 the DataLakeSourceStatus.Builder avoiding the need to create one manually via DataLakeSourceStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceStatuses(List<DataLakeSourceStatus>).

      Parameters:
      sourceStatuses - a consumer that will call methods on DataLakeSourceStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: