Interface UploaderConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UploaderConfig.Builder,,UploaderConfig> SdkBuilder<UploaderConfig.Builder,,UploaderConfig> SdkPojo
- Enclosing class:
UploaderConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault UploaderConfig.BuilderscheduleConfig(Consumer<ScheduleConfig.Builder> scheduleConfig) The configuration that consists of theScheduleExpressionand theDurationInMinutesdetails that specify the scheduling to record from a camera, or local media file, onto the Edge Agent.scheduleConfig(ScheduleConfig scheduleConfig) The configuration that consists of theScheduleExpressionand theDurationInMinutesdetails that specify the scheduling to record from a camera, or local media file, onto the Edge Agent.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
scheduleConfig
The configuration that consists of the
ScheduleExpressionand theDurationInMinutesdetails that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If theScheduleConfigis not provided in thisUploaderConfig, then the Edge Agent will upload at regular intervals (every 1 hour).- Parameters:
scheduleConfig- The configuration that consists of theScheduleExpressionand theDurationInMinutesdetails that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If theScheduleConfigis not provided in thisUploaderConfig, then the Edge Agent will upload at regular intervals (every 1 hour).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfig
The configuration that consists of the
This is a convenience method that creates an instance of theScheduleExpressionand theDurationInMinutesdetails that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If theScheduleConfigis not provided in thisUploaderConfig, then the Edge Agent will upload at regular intervals (every 1 hour).ScheduleConfig.Builderavoiding the need to create one manually viaScheduleConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleConfig(ScheduleConfig).- Parameters:
scheduleConfig- a consumer that will call methods onScheduleConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-