Interface RecorderConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RecorderConfig.Builder,RecorderConfig>,SdkBuilder<RecorderConfig.Builder,RecorderConfig>,SdkPojo
- Enclosing class:
- RecorderConfig
public static interface RecorderConfig.Builder extends SdkPojo, CopyableBuilder<RecorderConfig.Builder,RecorderConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RecorderConfig.BuildermediaSourceConfig(Consumer<MediaSourceConfig.Builder> mediaSourceConfig)The configuration details that consist of the credentials required (MediaUriSecretArnandMediaUriType) to access the media files streamed to the camera.RecorderConfig.BuildermediaSourceConfig(MediaSourceConfig mediaSourceConfig)The configuration details that consist of the credentials required (MediaUriSecretArnandMediaUriType) to access the media files streamed to the camera.default RecorderConfig.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.RecorderConfig.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
-
mediaSourceConfig
RecorderConfig.Builder mediaSourceConfig(MediaSourceConfig mediaSourceConfig)
The configuration details that consist of the credentials required (
MediaUriSecretArnandMediaUriType) to access the media files streamed to the camera.- Parameters:
mediaSourceConfig- The configuration details that consist of the credentials required (MediaUriSecretArnandMediaUriType) 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 theMediaUriSecretArnandMediaUriType) to access the media files streamed to the camera.MediaSourceConfig.Builderavoiding the need to create one manually viaMediaSourceConfig.builder().When the
Consumercompletes,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:
mediaSourceConfig(MediaSourceConfig)
-
scheduleConfig
RecorderConfig.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 theScheduleExpressionattribute is not provided, then the Edge Agent will always be set to recording mode.- 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 theScheduleExpressionattribute 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
default RecorderConfig.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 theScheduleExpressionattribute is not provided, then the Edge Agent will always be set to recording mode.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)
-
-