Interface IsolineConnection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IsolineConnection.Builder,IsolineConnection>,SdkBuilder<IsolineConnection.Builder,IsolineConnection>,SdkPojo
- Enclosing class:
- IsolineConnection
public static interface IsolineConnection.Builder extends SdkPojo, CopyableBuilder<IsolineConnection.Builder,IsolineConnection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IsolineConnection.BuilderfromPolygonIndex(Integer fromPolygonIndex)Index of the polygon corresponding to the "from" component of the connection.default IsolineConnection.Buildergeometry(Consumer<IsolineConnectionGeometry.Builder> geometry)The isoline geometry.IsolineConnection.Buildergeometry(IsolineConnectionGeometry geometry)The isoline geometry.IsolineConnection.BuildertoPolygonIndex(Integer toPolygonIndex)Index of the polygon corresponding to the "to" component of the connection.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fromPolygonIndex
IsolineConnection.Builder fromPolygonIndex(Integer fromPolygonIndex)
Index of the polygon corresponding to the "from" component of the connection. The polygon is available from
Isoline[].Geometries.- Parameters:
fromPolygonIndex- Index of the polygon corresponding to the "from" component of the connection. The polygon is available fromIsoline[].Geometries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
IsolineConnection.Builder geometry(IsolineConnectionGeometry geometry)
The isoline geometry.
- Parameters:
geometry- The isoline geometry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
default IsolineConnection.Builder geometry(Consumer<IsolineConnectionGeometry.Builder> geometry)
The isoline geometry.
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:
geometry(IsolineConnectionGeometry)
-
toPolygonIndex
IsolineConnection.Builder toPolygonIndex(Integer toPolygonIndex)
Index of the polygon corresponding to the "to" component of the connection. The polygon is available from
Isoline[].Geometries.- Parameters:
toPolygonIndex- Index of the polygon corresponding to the "to" component of the connection. The polygon is available fromIsoline[].Geometries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-