Interface RegionOfInterest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RegionOfInterest.Builder,RegionOfInterest>,SdkBuilder<RegionOfInterest.Builder,RegionOfInterest>,SdkPojo
- Enclosing class:
- RegionOfInterest
public static interface RegionOfInterest.Builder extends SdkPojo, CopyableBuilder<RegionOfInterest.Builder,RegionOfInterest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RegionOfInterest.BuilderboundingBox(Consumer<BoundingBox.Builder> boundingBox)The box representing a region of interest on screen.RegionOfInterest.BuilderboundingBox(BoundingBox boundingBox)The box representing a region of interest on screen.RegionOfInterest.Builderpolygon(Collection<Point> polygon)Specifies a shape made up of up to 10Pointobjects to define a region of interest.RegionOfInterest.Builderpolygon(Consumer<Point.Builder>... polygon)Specifies a shape made up of up to 10Pointobjects to define a region of interest.RegionOfInterest.Builderpolygon(Point... polygon)Specifies a shape made up of up to 10Pointobjects to define a region of interest.-
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
-
boundingBox
RegionOfInterest.Builder boundingBox(BoundingBox boundingBox)
The box representing a region of interest on screen.
- Parameters:
boundingBox- The box representing a region of interest on screen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
default RegionOfInterest.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
The box representing a region of interest on screen.
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:
boundingBox(BoundingBox)
-
polygon
RegionOfInterest.Builder polygon(Collection<Point> polygon)
Specifies a shape made up of up to 10
Pointobjects to define a region of interest.- Parameters:
polygon- Specifies a shape made up of up to 10Pointobjects to define a region of interest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polygon
RegionOfInterest.Builder polygon(Point... polygon)
Specifies a shape made up of up to 10
Pointobjects to define a region of interest.- Parameters:
polygon- Specifies a shape made up of up to 10Pointobjects to define a region of interest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polygon
RegionOfInterest.Builder polygon(Consumer<Point.Builder>... polygon)
Specifies a shape made up of up to 10
This is a convenience method that creates an instance of thePointobjects to define a region of interest.Point.Builderavoiding the need to create one manually viaPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#polygon(List.) - 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:
#polygon(java.util.Collection)
-
-