Interface LoggingConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>, SdkBuilder<LoggingConfiguration.Builder,LoggingConfiguration>, SdkPojo
Enclosing class:
LoggingConfiguration

public static interface LoggingConfiguration.Builder extends SdkPojo, CopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>
  • Method Details

    • level

      Defines which category of execution history events are logged.

      Parameters:
      level - Defines which category of execution history events are logged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • level

      Defines which category of execution history events are logged.

      Parameters:
      level - Defines which category of execution history events are logged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • includeExecutionData

      LoggingConfiguration.Builder includeExecutionData(Boolean includeExecutionData)

      Determines whether execution data is included in your log. When set to false, data is excluded.

      Parameters:
      includeExecutionData - Determines whether execution data is included in your log. When set to false, data is excluded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.

      Parameters:
      destinations - An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      LoggingConfiguration.Builder destinations(LogDestination... destinations)

      An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.

      Parameters:
      destinations - An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.

      This is a convenience method that creates an instance of the LogDestination.Builder avoiding the need to create one manually via LogDestination.builder().

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

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