@Generated(value="software.amazon.awssdk:codegen") public final class ScheduleConfig extends Object implements SdkPojo, Serializable, 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).
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScheduleConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ScheduleConfig.Builder |
builder() |
Integer |
durationInSeconds()
The total duration to record the media.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScheduleConfig.Builder> |
serializableBuilderClass() |
ScheduleConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 ScheduleExpression is not provided for the RecorderConfig,
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.
ScheduleExpression is not provided for the
RecorderConfig, 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.
public final Integer durationInSeconds()
The total duration to record the media. If the ScheduleExpression attribute is provided, then the
DurationInSeconds attribute should also be specified.
ScheduleExpression attribute is provided,
then the DurationInSeconds attribute should also be specified.public ScheduleConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ScheduleConfig.Builder,ScheduleConfig>public static ScheduleConfig.Builder builder()
public static Class<? extends ScheduleConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.