Interface UploaderConfig.Builder

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

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

    • scheduleConfig

      UploaderConfig.Builder scheduleConfig(ScheduleConfig scheduleConfig)

      The configuration that consists of the ScheduleExpression and the DurationInMinutes details that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If the ScheduleConfig is not provided in this UploaderConfig, then the Edge Agent will upload at regular intervals (every 1 hour).

      Parameters:
      scheduleConfig - The configuration that consists of the ScheduleExpression and the DurationInMinutes details that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If the ScheduleConfig is not provided in this UploaderConfig, then the Edge Agent will upload at regular intervals (every 1 hour).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleConfig

      default UploaderConfig.Builder scheduleConfig(Consumer<ScheduleConfig.Builder> scheduleConfig)

      The configuration that consists of the ScheduleExpression and the DurationInMinutes details that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If the ScheduleConfig is not provided in this UploaderConfig, then the Edge Agent will upload at regular intervals (every 1 hour).

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scheduleConfig(ScheduleConfig).

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