Interface BoundingBox.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BoundingBox.Builder,BoundingBox>,SdkBuilder<BoundingBox.Builder,BoundingBox>,SdkPojo
- Enclosing class:
- BoundingBox
public static interface BoundingBox.Builder extends SdkPojo, CopyableBuilder<BoundingBox.Builder,BoundingBox>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BoundingBox.Builderheight(Float height)Height of the bounding box as a ratio of the overall image height.BoundingBox.Builderleft(Float left)Left coordinate of the bounding box as a ratio of overall image width.BoundingBox.Buildertop(Float top)Top coordinate of the bounding box as a ratio of overall image height.BoundingBox.Builderwidth(Float width)Width of the bounding box as a ratio of the overall image width.-
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, sdkFields
-
-
-
-
Method Detail
-
width
BoundingBox.Builder width(Float width)
Width of the bounding box as a ratio of the overall image width.
- Parameters:
width- Width of the bounding box as a ratio of the overall image width.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
height
BoundingBox.Builder height(Float height)
Height of the bounding box as a ratio of the overall image height.
- Parameters:
height- Height of the bounding box as a ratio of the overall image height.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
left
BoundingBox.Builder left(Float left)
Left coordinate of the bounding box as a ratio of overall image width.
- Parameters:
left- Left coordinate of the bounding box as a ratio of overall image width.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
top
BoundingBox.Builder top(Float top)
Top coordinate of the bounding box as a ratio of overall image height.
- Parameters:
top- Top coordinate of the bounding box as a ratio of overall image height.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-