Interface EdgeConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EdgeConfig.Builder,
,EdgeConfig> SdkBuilder<EdgeConfig.Builder,
,EdgeConfig> SdkPojo
- Enclosing class:
EdgeConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault EdgeConfig.Builder
deletionConfig
(Consumer<DeletionConfig.Builder> deletionConfig) The deletion configuration is made up of the retention time (EdgeRetentionInHours
) and local size configuration (LocalSizeConfig
) details that are used to make the deletion.deletionConfig
(DeletionConfig deletionConfig) The deletion configuration is made up of the retention time (EdgeRetentionInHours
) and local size configuration (LocalSizeConfig
) details that are used to make the deletion.hubDeviceArn
(String hubDeviceArn) The "Internet of Things (IoT) Thing" Arn of the stream.default EdgeConfig.Builder
recorderConfig
(Consumer<RecorderConfig.Builder> recorderConfig) The recorder configuration consists of the localMediaSourceConfig
details, that are used as credentials to access the local media files streamed on the camera.recorderConfig
(RecorderConfig recorderConfig) The recorder configuration consists of the localMediaSourceConfig
details, that are used as credentials to access the local media files streamed on the camera.default EdgeConfig.Builder
uploaderConfig
(Consumer<UploaderConfig.Builder> uploaderConfig) The uploader configuration contains theScheduleExpression
details that are used to schedule upload jobs for the recorded media files from the Edge Agent to a Kinesis Video Stream.uploaderConfig
(UploaderConfig uploaderConfig) The uploader configuration contains theScheduleExpression
details that are used to schedule upload jobs for the recorded media files from the Edge Agent to a Kinesis Video Stream.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
-
hubDeviceArn
The "Internet of Things (IoT) Thing" Arn of the stream.
- Parameters:
hubDeviceArn
- The "Internet of Things (IoT) Thing" Arn of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recorderConfig
The recorder configuration consists of the local
MediaSourceConfig
details, that are used as credentials to access the local media files streamed on the camera.- Parameters:
recorderConfig
- The recorder configuration consists of the localMediaSourceConfig
details, that are used as credentials to access the local media files streamed on the camera.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recorderConfig
The recorder configuration consists of the local
This is a convenience method that creates an instance of theMediaSourceConfig
details, that are used as credentials to access the local media files streamed on the camera.RecorderConfig.Builder
avoiding the need to create one manually viaRecorderConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecorderConfig(RecorderConfig)
.- Parameters:
recorderConfig
- a consumer that will call methods onRecorderConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uploaderConfig
The uploader configuration contains the
ScheduleExpression
details that are used to schedule upload jobs for the recorded media files from the Edge Agent to a Kinesis Video Stream.- Parameters:
uploaderConfig
- The uploader configuration contains theScheduleExpression
details that are used to schedule upload jobs for the recorded media files from the Edge Agent to a Kinesis Video Stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploaderConfig
The uploader configuration contains the
This is a convenience method that creates an instance of theScheduleExpression
details that are used to schedule upload jobs for the recorded media files from the Edge Agent to a Kinesis Video Stream.UploaderConfig.Builder
avoiding the need to create one manually viaUploaderConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touploaderConfig(UploaderConfig)
.- Parameters:
uploaderConfig
- a consumer that will call methods onUploaderConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deletionConfig
The deletion configuration is made up of the retention time (
EdgeRetentionInHours
) and local size configuration (LocalSizeConfig
) details that are used to make the deletion.- Parameters:
deletionConfig
- The deletion configuration is made up of the retention time (EdgeRetentionInHours
) and local size configuration (LocalSizeConfig
) details that are used to make the deletion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionConfig
The deletion configuration is made up of the retention time (
This is a convenience method that creates an instance of theEdgeRetentionInHours
) and local size configuration (LocalSizeConfig
) details that are used to make the deletion.DeletionConfig.Builder
avoiding the need to create one manually viaDeletionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeletionConfig(DeletionConfig)
.- Parameters:
deletionConfig
- a consumer that will call methods onDeletionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-