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
Modifier and TypeMethodDescriptionassets
(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.The searchable date and time of the item, in UTC.default ItemSource.Builder
geometry
(Consumer<Geometry.Builder> geometry) The item Geometry in GeoJson format.The item Geometry in GeoJson format.A unique Id for the source item.default ItemSource.Builder
properties
(Consumer<Properties.Builder> properties) This field contains additional properties of the item.properties
(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 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
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
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
The item Geometry in GeoJson format.
This is a convenience method that creates an instance of theGeometry.Builder
avoiding the need to create one manually viaGeometry.builder()
.When the
Consumer
completes,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:
-
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
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
This field contains additional properties of the item.
This is a convenience method that creates an instance of theProperties.Builder
avoiding the need to create one manually viaProperties.builder()
.When the
Consumer
completes,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:
-