Interface ClippingConfig.Builder

  • Method Details

    • callbackMetadata

      ClippingConfig.Builder callbackMetadata(String callbackMetadata)

      A string that you want Elemental Inference to always include in the event clipping metadata for this output. The string might identify the sports event in the source media, for example.

      Parameters:
      callbackMetadata - A string that you want Elemental Inference to always include in the event clipping metadata for this output. The string might identify the sports event in the source media, for example.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceConfiguration

      ClippingConfig.Builder dataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)

      The data source to map onto this clipping output. This parameter is optional. When you include this parameter, Elemental Inference reads the event data for the fixture that you specify, and includes that data in the event clipping metadata for this output.

      If you omit this parameter, Elemental Inference doesn't map a data source onto this output.

      Parameters:
      dataSourceConfiguration - The data source to map onto this clipping output. This parameter is optional. When you include this parameter, Elemental Inference reads the event data for the fixture that you specify, and includes that data in the event clipping metadata for this output.

      If you omit this parameter, Elemental Inference doesn't map a data source onto this output.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceConfiguration

      default ClippingConfig.Builder dataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration)

      The data source to map onto this clipping output. This parameter is optional. When you include this parameter, Elemental Inference reads the event data for the fixture that you specify, and includes that data in the event clipping metadata for this output.

      If you omit this parameter, Elemental Inference doesn't map a data source onto this output.

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

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

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