Interface EdgeConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EdgeConfig.Builder,EdgeConfig>, SdkBuilder<EdgeConfig.Builder,EdgeConfig>, SdkPojo
Enclosing class:
EdgeConfig

public static interface EdgeConfig.Builder extends SdkPojo, CopyableBuilder<EdgeConfig.Builder,EdgeConfig>
  • Method Details

    • hubDeviceArn

      EdgeConfig.Builder hubDeviceArn(String 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

      EdgeConfig.Builder recorderConfig(RecorderConfig 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 local MediaSourceConfig 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

      default EdgeConfig.Builder recorderConfig(Consumer<RecorderConfig.Builder> 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.

      This is a convenience method that creates an instance of the RecorderConfig.Builder avoiding the need to create one manually via RecorderConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recorderConfig(RecorderConfig).

      Parameters:
      recorderConfig - a consumer that will call methods on RecorderConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • uploaderConfig

      EdgeConfig.Builder uploaderConfig(UploaderConfig 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 the ScheduleExpression 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

      default EdgeConfig.Builder uploaderConfig(Consumer<UploaderConfig.Builder> 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.

      This is a convenience method that creates an instance of the UploaderConfig.Builder avoiding the need to create one manually via UploaderConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to uploaderConfig(UploaderConfig).

      Parameters:
      uploaderConfig - a consumer that will call methods on UploaderConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deletionConfig

      EdgeConfig.Builder 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.

      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

      default 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.

      This is a convenience method that creates an instance of the DeletionConfig.Builder avoiding the need to create one manually via DeletionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deletionConfig(DeletionConfig).

      Parameters:
      deletionConfig - a consumer that will call methods on DeletionConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: