Interface RouteMatrixBoundaryGeometry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteMatrixBoundaryGeometry.Builder,RouteMatrixBoundaryGeometry>,SdkBuilder<RouteMatrixBoundaryGeometry.Builder,RouteMatrixBoundaryGeometry>,SdkPojo
- Enclosing class:
- RouteMatrixBoundaryGeometry
public static interface RouteMatrixBoundaryGeometry.Builder extends SdkPojo, CopyableBuilder<RouteMatrixBoundaryGeometry.Builder,RouteMatrixBoundaryGeometry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RouteMatrixBoundaryGeometry.BuilderautoCircle(Consumer<RouteMatrixAutoCircle.Builder> autoCircle)Provides the circle that was used while calculating the route.RouteMatrixBoundaryGeometry.BuilderautoCircle(RouteMatrixAutoCircle autoCircle)Provides the circle that was used while calculating the route.RouteMatrixBoundaryGeometry.BuilderboundingBox(Double... boundingBox)Geometry defined as a bounding box.RouteMatrixBoundaryGeometry.BuilderboundingBox(Collection<Double> boundingBox)Geometry defined as a bounding box.default RouteMatrixBoundaryGeometry.Buildercircle(Consumer<Circle.Builder> circle)Geometry defined as a circle.RouteMatrixBoundaryGeometry.Buildercircle(Circle circle)Geometry defined as a circle.RouteMatrixBoundaryGeometry.Builderpolygon(Collection<? extends Collection<? extends Collection<Double>>> polygon)Geometry defined as a polygon with only one linear ring.RouteMatrixBoundaryGeometry.Builderpolygon(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 Detail
-
autoCircle
RouteMatrixBoundaryGeometry.Builder autoCircle(RouteMatrixAutoCircle 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.Builderavoiding the need to create one manually viaRouteMatrixAutoCircle.builder().When the
Consumercompletes,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:
autoCircle(RouteMatrixAutoCircle)
-
circle
RouteMatrixBoundaryGeometry.Builder circle(Circle circle)
Geometry defined as a circle. When request routing boundary was set as
AutoCircle, the response routing boundary will returnCirclederived from theAutoCirclesettings.- Parameters:
circle- Geometry defined as a circle. When request routing boundary was set asAutoCircle, the response routing boundary will returnCirclederived from theAutoCirclesettings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
circle
default RouteMatrixBoundaryGeometry.Builder circle(Consumer<Circle.Builder> 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 returnCirclederived from theAutoCirclesettings.Circle.Builderavoiding the need to create one manually viaCircle.builder().When the
Consumercompletes,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:
circle(Circle)
-
boundingBox
RouteMatrixBoundaryGeometry.Builder boundingBox(Collection<Double> 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
RouteMatrixBoundaryGeometry.Builder boundingBox(Double... 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
RouteMatrixBoundaryGeometry.Builder polygon(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.
-
-