Interface UploaderConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UploaderConfig.Builder,
,UploaderConfig> SdkBuilder<UploaderConfig.Builder,
,UploaderConfig> SdkPojo
- Enclosing class:
UploaderConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault UploaderConfig.Builder
scheduleConfig
(Consumer<ScheduleConfig.Builder> scheduleConfig) The configuration that consists of theScheduleExpression
and theDurationInMinutes
details 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 theScheduleExpression
and theDurationInMinutes
details 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, sdkFields
-
Method Details
-
scheduleConfig
The configuration that consists of the
ScheduleExpression
and theDurationInMinutes
details that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If theScheduleConfig
is not provided in thisUploaderConfig
, then the Edge Agent will upload at regular intervals (every 1 hour).- Parameters:
scheduleConfig
- The configuration that consists of theScheduleExpression
and theDurationInMinutes
details that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If theScheduleConfig
is 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 theScheduleExpression
and theDurationInMinutes
details that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If theScheduleConfig
is not provided in thisUploaderConfig
, then the Edge Agent will upload at regular intervals (every 1 hour).ScheduleConfig.Builder
avoiding the need to create one manually viaScheduleConfig.builder()
.When the
Consumer
completes,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:
-