Interface DatasetItem.Builder

  • Method Details

    • datasetId

      DatasetItem.Builder datasetId(String datasetId)
      <p>The unique identifier for the dataset.</p>
      Parameters:
      datasetId - <p>The unique identifier for the dataset.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trimSettings

      DatasetItem.Builder trimSettings(TrimSettings trimSettings)
      <p>The trim settings applied to all items in the dataset. When omitted, the full dataset time range is used.</p>
      Parameters:
      trimSettings - <p>The trim settings applied to all items in the dataset. When omitted, the full dataset time range is used.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trimSettings

      default DatasetItem.Builder trimSettings(Consumer<TrimSettings.Builder> trimSettings)
      <p>The trim settings applied to all items in the dataset. When omitted, the full dataset time range is used.</p> This is a convenience method that creates an instance of the TrimSettings.Builder avoiding the need to create one manually via TrimSettings.builder().

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

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

      DatasetItem.Builder exportDataTypesWithStrings(Collection<String> exportDataTypes)
      <p>The optional subset of data types to export. If omitted, all data types are exported.</p>
      Parameters:
      exportDataTypes - <p>The optional subset of data types to export. If omitted, all data types are exported.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exportDataTypesWithStrings

      DatasetItem.Builder exportDataTypesWithStrings(String... exportDataTypes)
      <p>The optional subset of data types to export. If omitted, all data types are exported.</p>
      Parameters:
      exportDataTypes - <p>The optional subset of data types to export. If omitted, all data types are exported.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exportDataTypes

      DatasetItem.Builder exportDataTypes(Collection<ExportDataType> exportDataTypes)
      <p>The optional subset of data types to export. If omitted, all data types are exported.</p>
      Parameters:
      exportDataTypes - <p>The optional subset of data types to export. If omitted, all data types are exported.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exportDataTypes

      DatasetItem.Builder exportDataTypes(ExportDataType... exportDataTypes)
      <p>The optional subset of data types to export. If omitted, all data types are exported.</p>
      Parameters:
      exportDataTypes - <p>The optional subset of data types to export. If omitted, all data types are exported.</p>
      Returns:
      Returns a reference to this object so that method calls can be chained together.