Interface UploaderConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UploaderConfig.Builder,UploaderConfig>,SdkBuilder<UploaderConfig.Builder,UploaderConfig>,SdkPojo
- Enclosing class:
- UploaderConfig
public static interface UploaderConfig.Builder extends SdkPojo, CopyableBuilder<UploaderConfig.Builder,UploaderConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.UploaderConfig.BuilderscheduleConfig(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
scheduleConfig
UploaderConfig.Builder scheduleConfig(ScheduleConfig 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
default UploaderConfig.Builder scheduleConfig(Consumer<ScheduleConfig.Builder> 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:
scheduleConfig(ScheduleConfig)
-
-