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) Index of the polygon corresponding to the "from" component of the connection.default IsolineConnection.Buildergeometry(Consumer<IsolineConnectionGeometry.Builder> geometry) The isoline geometry.geometry(IsolineConnectionGeometry geometry) The isoline geometry.toPolygonIndex(Integer toPolygonIndex) Index of the polygon corresponding to the "to" component of the connection.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
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
The isoline geometry.
- Parameters:
geometry- The isoline geometry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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.
-