Interface RecorderConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecorderConfig.Builder,
,RecorderConfig> SdkBuilder<RecorderConfig.Builder,
,RecorderConfig> SdkPojo
- Enclosing class:
RecorderConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault RecorderConfig.Builder
mediaSourceConfig
(Consumer<MediaSourceConfig.Builder> mediaSourceConfig) The configuration details that consist of the credentials required (MediaUriSecretArn
andMediaUriType
) to access the media files streamed to the camera.mediaSourceConfig
(MediaSourceConfig mediaSourceConfig) The configuration details that consist of the credentials required (MediaUriSecretArn
andMediaUriType
) to access the media files streamed to the camera.default RecorderConfig.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
-
mediaSourceConfig
The configuration details that consist of the credentials required (
MediaUriSecretArn
andMediaUriType
) to access the media files streamed to the camera.- Parameters:
mediaSourceConfig
- The configuration details that consist of the credentials required (MediaUriSecretArn
andMediaUriType
) to access the media files streamed to the camera.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaSourceConfig
default RecorderConfig.Builder mediaSourceConfig(Consumer<MediaSourceConfig.Builder> mediaSourceConfig) The configuration details that consist of the credentials required (
This is a convenience method that creates an instance of theMediaUriSecretArn
andMediaUriType
) to access the media files streamed to the camera.MediaSourceConfig.Builder
avoiding the need to create one manually viaMediaSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomediaSourceConfig(MediaSourceConfig)
.- Parameters:
mediaSourceConfig
- a consumer that will call methods onMediaSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theScheduleExpression
attribute is not provided, then the Edge Agent will always be set to recording mode.- 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 theScheduleExpression
attribute is not provided, then the Edge Agent will always be set to recording mode.- 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 theScheduleExpression
attribute is not provided, then the Edge Agent will always be set to recording mode.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:
-