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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
ScheduleExpression
is 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 theScheduleExpression
is 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
ScheduleExpression
attribute is provided, then theDurationInSeconds
attribute should also be specified.- Parameters:
durationInSeconds
- The total duration to record the media. If theScheduleExpression
attribute is provided, then theDurationInSeconds
attribute should also be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-