Class ScheduleConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduleConfig.Builder,ScheduleConfig>
This API enables you to specify the duration that the camera, or local media file, should record onto the Edge Agent.
The ScheduleConfig consists of the ScheduleExpression and the
DurationInMinutes attributes.
If the ScheduleConfig is not provided in the RecorderConfig, then the Edge Agent will
always be set to recording mode.
If the ScheduleConfig is not provided in the UploaderConfig, then the Edge Agent will
upload at regular intervals (every 1 hour).
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleConfig.Builderbuilder()final IntegerThe total duration to record the media.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent.static Class<? extends ScheduleConfig.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
- Returns:
- 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.
-
durationInSeconds
The total duration to record the media. If the
ScheduleExpressionattribute is provided, then theDurationInSecondsattribute should also be specified.- Returns:
- The total duration to record the media. If the
ScheduleExpressionattribute is provided, then theDurationInSecondsattribute should also be specified.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduleConfig.Builder,ScheduleConfig>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-