Interface RecorderConfig.Builder

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

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

    • mediaSourceConfig

      RecorderConfig.Builder mediaSourceConfig(MediaSourceConfig mediaSourceConfig)

      The configuration details that consist of the credentials required (MediaUriSecretArn and MediaUriType) to access the media files streamed to the camera.

      Parameters:
      mediaSourceConfig - The configuration details that consist of the credentials required (MediaUriSecretArn and MediaUriType) to access the media files streamed to the camera.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediaSourceConfig

      default RecorderConfig.Builder mediaSourceConfig(Consumer<MediaSourceConfig.Builder> mediaSourceConfig)

      The configuration details that consist of the credentials required (MediaUriSecretArn and MediaUriType) to access the media files streamed to the camera.

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

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

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

      RecorderConfig.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 ScheduleExpression attribute is not provided, then the Edge Agent will always be set to recording mode.

      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 ScheduleExpression attribute is not provided, then the Edge Agent will always be set to recording mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleConfig

      default RecorderConfig.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 ScheduleExpression attribute is not provided, then the Edge Agent will always be set to recording mode.

      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: