Interface EdgeConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EdgeConfig.Builder,,EdgeConfig> SdkBuilder<EdgeConfig.Builder,,EdgeConfig> SdkPojo
- Enclosing class:
EdgeConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault EdgeConfig.BuilderdeletionConfig(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.BuilderrecorderConfig(Consumer<RecorderConfig.Builder> recorderConfig) The recorder configuration consists of the localMediaSourceConfigdetails, that are used as credentials to access the local media files streamed on the camera.recorderConfig(RecorderConfig recorderConfig) The recorder configuration consists of the localMediaSourceConfigdetails, that are used as credentials to access the local media files streamed on the camera.default EdgeConfig.BuilderuploaderConfig(Consumer<UploaderConfig.Builder> uploaderConfig) The uploader configuration contains theScheduleExpressiondetails 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 theScheduleExpressiondetails 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
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
-
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
MediaSourceConfigdetails, that are used as credentials to access the local media files streamed on the camera.- Parameters:
recorderConfig- The recorder configuration consists of the localMediaSourceConfigdetails, 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 theMediaSourceConfigdetails, that are used as credentials to access the local media files streamed on the camera.RecorderConfig.Builderavoiding the need to create one manually viaRecorderConfig.builder().When the
Consumercompletes,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
ScheduleExpressiondetails 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 theScheduleExpressiondetails 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 theScheduleExpressiondetails that are used to schedule upload jobs for the recorded media files from the Edge Agent to a Kinesis Video Stream.UploaderConfig.Builderavoiding the need to create one manually viaUploaderConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDeletionConfig.builder().When the
Consumercompletes,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:
-