Interface Geometry.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<Geometry.Builder,,Geometry> SdkBuilder<Geometry.Builder,,Geometry> SdkPojo
- Enclosing class:
 Geometry
@Mutable
@NotThreadSafe
public static interface Geometry.Builder
extends SdkPojo, CopyableBuilder<Geometry.Builder,Geometry> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault Geometry.BuilderboundingBox(Consumer<BoundingBox.Builder> boundingBox) An axis-aligned coarse representation of the detected item's location on the image.boundingBox(BoundingBox boundingBox) An axis-aligned coarse representation of the detected item's location on the image.polygon(Collection<Point> polygon) Within the bounding box, a fine-grained polygon around the detected item.polygon(Consumer<Point.Builder>... polygon) Within the bounding box, a fine-grained polygon around the detected item.Within the bounding box, a fine-grained polygon around the detected item.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
- 
boundingBox
An axis-aligned coarse representation of the detected item's location on the image.
- Parameters:
 boundingBox- An axis-aligned coarse representation of the detected item's location on the image.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
boundingBox
An axis-aligned coarse representation of the detected item's location on the image.
This is a convenience method that creates an instance of theBoundingBox.Builderavoiding the need to create one manually viaBoundingBox.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toboundingBox(BoundingBox).- Parameters:
 boundingBox- a consumer that will call methods onBoundingBox.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
polygon
Within the bounding box, a fine-grained polygon around the detected item.
- Parameters:
 polygon- Within the bounding box, a fine-grained polygon around the detected item.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
polygon
Within the bounding box, a fine-grained polygon around the detected item.
- Parameters:
 polygon- Within the bounding box, a fine-grained polygon around the detected item.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
polygon
Within the bounding box, a fine-grained polygon around the detected item.
This is a convenience method that creates an instance of thePoint.Builderavoiding the need to create one manually viaPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolygon(List<Point>).- Parameters:
 polygon- a consumer that will call methods onPoint.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -