Interface ScheduleConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduleConfig.Builder,,ScheduleConfig> SdkBuilder<ScheduleConfig.Builder,,ScheduleConfig> SdkPojo
- Enclosing class:
ScheduleConfig
@Mutable
@NotThreadSafe
public static interface ScheduleConfig.Builder
extends SdkPojo, CopyableBuilder<ScheduleConfig.Builder,ScheduleConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondurationInSeconds(Integer durationInSeconds) The total duration to record the media.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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.
-