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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ItemSource.Builderassets(Map<String,AssetValue> assets)This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with a unique key.ItemSource.BuilderdateTime(Instant dateTime)The searchable date and time of the item, in UTC.default ItemSource.Buildergeometry(Consumer<Geometry.Builder> geometry)The item Geometry in GeoJson format.ItemSource.Buildergeometry(Geometry geometry)The item Geometry in GeoJson format.ItemSource.Builderid(String id)A unique Id for the source item.default ItemSource.Builderproperties(Consumer<Properties.Builder> properties)This field contains additional properties of the item.ItemSource.Builderproperties(Properties properties)This field contains additional properties of the item.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
assets
ItemSource.Builder assets(Map<String,AssetValue> 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 theGeometry.Builderavoiding the need to create one manually viaGeometry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeometry(Geometry).- Parameters:
geometry- a consumer that will call methods onGeometry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
geometry(Geometry)
-
id
ItemSource.Builder id(String 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 theProperties.Builderavoiding the need to create one manually viaProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproperties(Properties).- Parameters:
properties- a consumer that will call methods onProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
properties(Properties)
-
-