Interface ItemSource.Builder

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

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

    • assets

      This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with a unique key.

      Parameters:
      assets - This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with a unique key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dateTime

      ItemSource.Builder dateTime(Instant dateTime)

      The searchable date and time of the item, in UTC.

      Parameters:
      dateTime - The searchable date and time of the item, in UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometry

      ItemSource.Builder geometry(Geometry geometry)

      The item Geometry in GeoJson format.

      Parameters:
      geometry - The item Geometry in GeoJson format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometry

      default ItemSource.Builder geometry(Consumer<Geometry.Builder> geometry)

      The item Geometry in GeoJson format.

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

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

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

      A unique Id for the source item.

      Parameters:
      id - A unique Id for the source item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • properties

      ItemSource.Builder properties(Properties properties)

      This field contains additional properties of the item.

      Parameters:
      properties - This field contains additional properties of the item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • properties

      default ItemSource.Builder properties(Consumer<Properties.Builder> properties)

      This field contains additional properties of the item.

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

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

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