Interface SourceLogsConfiguration.Builder

  • Method Details

    • logGroupSelectionCriteria

      SourceLogsConfiguration.Builder logGroupSelectionCriteria(String logGroupSelectionCriteria)

      The selection criteria that specifies which source log groups to centralize. The selection criteria uses the same format as OAM link filters.

      Parameters:
      logGroupSelectionCriteria - The selection criteria that specifies which source log groups to centralize. The selection criteria uses the same format as OAM link filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceSelectionCriteria

      SourceLogsConfiguration.Builder dataSourceSelectionCriteria(String dataSourceSelectionCriteria)

      The selection criteria that specifies which data sources to centralize. The selection criteria uses the same filter expression format as LogGroupSelectionCriteria, but operates on DataSourceName and DataSourceType operands. When both LogGroupSelectionCriteria and DataSourceSelectionCriteria are specified, a log event must match both criteria to be centralized.

      Parameters:
      dataSourceSelectionCriteria - The selection criteria that specifies which data sources to centralize. The selection criteria uses the same filter expression format as LogGroupSelectionCriteria, but operates on DataSourceName and DataSourceType operands. When both LogGroupSelectionCriteria and DataSourceSelectionCriteria are specified, a log event must match both criteria to be centralized.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptedLogGroupStrategy

      SourceLogsConfiguration.Builder encryptedLogGroupStrategy(String encryptedLogGroupStrategy)

      A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.

      Parameters:
      encryptedLogGroupStrategy - A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptedLogGroupStrategy

      SourceLogsConfiguration.Builder encryptedLogGroupStrategy(EncryptedLogGroupStrategy encryptedLogGroupStrategy)

      A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.

      Parameters:
      encryptedLogGroupStrategy - A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: