@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduleConfig extends Object implements Serializable, Cloneable, StructuredPojo
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 ScheduleExpression is not provided, then the Edge Agent will always be set to recording mode.
| Constructor and Description |
|---|
ScheduleConfig() |
| Modifier and Type | Method and Description |
|---|---|
ScheduleConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getDurationInSeconds()
The total duration to record the media.
|
String |
getScheduleExpression()
The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file,
onto the Edge Agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDurationInSeconds(Integer durationInSeconds)
The total duration to record the media.
|
void |
setScheduleExpression(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.
|
String |
toString()
Returns a string representation of this object.
|
ScheduleConfig |
withDurationInSeconds(Integer durationInSeconds)
The total duration to record the media.
|
ScheduleConfig |
withScheduleExpression(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.
|
public void setScheduleExpression(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 - 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.
public String getScheduleExpression()
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 ScheduleConfig withScheduleExpression(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 - 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.
public void setDurationInSeconds(Integer durationInSeconds)
The total duration to record the media. If the ScheduleExpression attribute is provided, then the
DurationInSeconds attribute should also be specified.
durationInSeconds - The total duration to record the media. If the ScheduleExpression attribute is provided, then
the DurationInSeconds attribute should also be specified.public Integer getDurationInSeconds()
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 withDurationInSeconds(Integer durationInSeconds)
The total duration to record the media. If the ScheduleExpression attribute is provided, then the
DurationInSeconds attribute should also be specified.
durationInSeconds - The total duration to record the media. If the ScheduleExpression attribute is provided, then
the DurationInSeconds attribute should also be specified.public String toString()
toString in class ObjectObject.toString()public ScheduleConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.