Interface RouteMatrixBoundaryGeometry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteMatrixBoundaryGeometry.Builder,
,RouteMatrixBoundaryGeometry> SdkBuilder<RouteMatrixBoundaryGeometry.Builder,
,RouteMatrixBoundaryGeometry> SdkPojo
- Enclosing class:
RouteMatrixBoundaryGeometry
-
Method Summary
Modifier and TypeMethodDescriptionautoCircle
(Consumer<RouteMatrixAutoCircle.Builder> autoCircle) Provides the circle that was used while calculating the route.autoCircle
(RouteMatrixAutoCircle autoCircle) Provides the circle that was used while calculating the route.boundingBox
(Double... boundingBox) Geometry defined as a bounding box.boundingBox
(Collection<Double> boundingBox) Geometry defined as a bounding box.circle
(Consumer<Circle.Builder> circle) Geometry defined as a circle.Geometry defined as a circle.polygon
(Collection<? extends Collection<? extends Collection<Double>>> polygon) Geometry defined as a polygon with only one linear ring.polygon
(Collection<? extends Collection<Double>>... polygon) Geometry defined as a polygon with only one linear ring.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 Details
-
autoCircle
Provides the circle that was used while calculating the route.
- Parameters:
autoCircle
- Provides the circle that was used while calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoCircle
default RouteMatrixBoundaryGeometry.Builder autoCircle(Consumer<RouteMatrixAutoCircle.Builder> autoCircle) Provides the circle that was used while calculating the route.
This is a convenience method that creates an instance of theRouteMatrixAutoCircle.Builder
avoiding the need to create one manually viaRouteMatrixAutoCircle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoCircle(RouteMatrixAutoCircle)
.- Parameters:
autoCircle
- a consumer that will call methods onRouteMatrixAutoCircle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
circle
Geometry defined as a circle. When request routing boundary was set as
AutoCircle
, the response routing boundary will returnCircle
derived from theAutoCircle
settings.- Parameters:
circle
- Geometry defined as a circle. When request routing boundary was set asAutoCircle
, the response routing boundary will returnCircle
derived from theAutoCircle
settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
circle
Geometry defined as a circle. When request routing boundary was set as
This is a convenience method that creates an instance of theAutoCircle
, the response routing boundary will returnCircle
derived from theAutoCircle
settings.Circle.Builder
avoiding the need to create one manually viaCircle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocircle(Circle)
.- Parameters:
circle
- a consumer that will call methods onCircle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
boundingBox
Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.
- Parameters:
boundingBox
- Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.
- Parameters:
boundingBox
- Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polygon
RouteMatrixBoundaryGeometry.Builder polygon(Collection<? extends Collection<? extends Collection<Double>>> polygon) Geometry defined as a polygon with only one linear ring.
- Parameters:
polygon
- Geometry defined as a polygon with only one linear ring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polygon
Geometry defined as a polygon with only one linear ring.
- Parameters:
polygon
- Geometry defined as a polygon with only one linear ring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-