Interface RecorderConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecorderConfig.Builder,,RecorderConfig> SdkBuilder<RecorderConfig.Builder,,RecorderConfig> SdkPojo
- Enclosing class:
RecorderConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.mediaSourceConfig(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.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
-
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:
-
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
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:
-