Class ScheduleConfig
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisvideo.model.ScheduleConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduleConfig.Builder,ScheduleConfig>
@Generated("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
ScheduleConfigconsists of theScheduleExpressionand theDurationInMinutesattributes.If the
ScheduleConfigis not provided in theRecorderConfig, then the Edge Agent will always be set to recording mode.If the
ScheduleConfigis not provided in theUploaderConfig, then the Edge Agent will upload at regular intervals (every 1 hour).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScheduleConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScheduleConfig.Builderbuilder()IntegerdurationInSeconds()The total duration to record the media.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringscheduleExpression()The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ScheduleConfig.Builder>serializableBuilderClass()ScheduleConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
scheduleExpression
public 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
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
public final Integer 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
public ScheduleConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduleConfig.Builder,ScheduleConfig>
-
builder
public static ScheduleConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScheduleConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-