Interface LoggingOptions.Builder

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

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

    • roleArn

      LoggingOptions.Builder roleArn(String roleArn)

      The ARN of the role that grants permission to AWS IoT Events to perform logging.

      Parameters:
      roleArn - The ARN of the role that grants permission to AWS IoT Events to perform logging.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • level

      The logging level.

      Parameters:
      level - The logging level.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • level

      The logging level.

      Parameters:
      level - The logging level.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enabled

      LoggingOptions.Builder enabled(Boolean enabled)

      If TRUE, logging is enabled for AWS IoT Events.

      Parameters:
      enabled - If TRUE, logging is enabled for AWS IoT Events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detectorDebugOptions

      LoggingOptions.Builder detectorDebugOptions(Collection<DetectorDebugOption> detectorDebugOptions)

      Information that identifies those detector models and their detectors (instances) for which the logging level is given.

      Parameters:
      detectorDebugOptions - Information that identifies those detector models and their detectors (instances) for which the logging level is given.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detectorDebugOptions

      LoggingOptions.Builder detectorDebugOptions(DetectorDebugOption... detectorDebugOptions)

      Information that identifies those detector models and their detectors (instances) for which the logging level is given.

      Parameters:
      detectorDebugOptions - Information that identifies those detector models and their detectors (instances) for which the logging level is given.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detectorDebugOptions

      LoggingOptions.Builder detectorDebugOptions(Consumer<DetectorDebugOption.Builder>... detectorDebugOptions)

      Information that identifies those detector models and their detectors (instances) for which the logging level is given.

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

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

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