Interface IsolineConnection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IsolineConnection.Builder,,IsolineConnection> SdkBuilder<IsolineConnection.Builder,,IsolineConnection> SdkPojo
- Enclosing class:
IsolineConnection
@Mutable
@NotThreadSafe
public static interface IsolineConnection.Builder
extends SdkPojo, CopyableBuilder<IsolineConnection.Builder,IsolineConnection>
-
Method Summary
Modifier and TypeMethodDescriptionfromPolygonIndex(Integer fromPolygonIndex) The index of the starting polygon in the isoline'sGeometrieslist.default IsolineConnection.Buildergeometry(Consumer<IsolineConnectionGeometry.Builder> geometry) The shape of the connection, representing the actual path through the transportation network that links the polygons.geometry(IsolineConnectionGeometry geometry) The shape of the connection, representing the actual path through the transportation network that links the polygons.toPolygonIndex(Integer toPolygonIndex) The index of the ending polygon in the isoline'sGeometrieslist.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fromPolygonIndex
The index of the starting polygon in the isoline's
Geometrieslist.- Parameters:
fromPolygonIndex- The index of the starting polygon in the isoline'sGeometrieslist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
The shape of the connection, representing the actual path through the transportation network that links the polygons.
- Parameters:
geometry- The shape of the connection, representing the actual path through the transportation network that links the polygons.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
The shape of the connection, representing the actual path through the transportation network that links the polygons.
This is a convenience method that creates an instance of theIsolineConnectionGeometry.Builderavoiding the need to create one manually viaIsolineConnectionGeometry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeometry(IsolineConnectionGeometry).- Parameters:
geometry- a consumer that will call methods onIsolineConnectionGeometry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toPolygonIndex
The index of the ending polygon in the isoline's
Geometrieslist.- Parameters:
toPolygonIndex- The index of the ending polygon in the isoline'sGeometrieslist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-