Interface ScheduleConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduleConfig.Builder,ScheduleConfig>,SdkBuilder<ScheduleConfig.Builder,ScheduleConfig>,SdkPojo
- Enclosing class:
- ScheduleConfig
public static interface ScheduleConfig.Builder extends SdkPojo, CopyableBuilder<ScheduleConfig.Builder,ScheduleConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScheduleConfig.BuilderdurationInSeconds(Integer durationInSeconds)The total duration to record the media.ScheduleConfig.BuilderscheduleExpression(String scheduleExpression)The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
scheduleExpression
ScheduleConfig.Builder scheduleExpression(String scheduleExpression)
The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent. If the
ScheduleExpressionis not provided for theRecorderConfig, then the Edge Agent will always be set to recording mode.For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.
- Parameters:
scheduleExpression- The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent. If theScheduleExpressionis not provided for theRecorderConfig, then the Edge Agent will always be set to recording mode.For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationInSeconds
ScheduleConfig.Builder durationInSeconds(Integer durationInSeconds)
The total duration to record the media. If the
ScheduleExpressionattribute is provided, then theDurationInSecondsattribute should also be specified.- Parameters:
durationInSeconds- The total duration to record the media. If theScheduleExpressionattribute is provided, then theDurationInSecondsattribute should also be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-