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
Modifier and TypeMethodDescriptiondefault RegionOfInterest.Builder
boundingBox
(Consumer<BoundingBox.Builder> boundingBox) The box representing a region of interest on screen.boundingBox
(BoundingBox boundingBox) The box representing a region of interest on screen.polygon
(Collection<Point> polygon) Specifies a shape made up of up to 10Point
objects to define a region of interest.polygon
(Consumer<Point.Builder>... polygon) Specifies a shape made up of up to 10Point
objects to define a region of interest.Specifies a shape made up of up to 10Point
objects 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 Details
-
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
The box representing a region of interest on screen.
This is a convenience method that creates an instance of theBoundingBox.Builder
avoiding the need to create one manually viaBoundingBox.builder()
.When the
Consumer
completes,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
Specifies a shape made up of up to 10
Point
objects to define a region of interest.- Parameters:
polygon
- Specifies a shape made up of up to 10Point
objects to define a region of interest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polygon
Specifies a shape made up of up to 10
Point
objects to define a region of interest.- Parameters:
polygon
- Specifies a shape made up of up to 10Point
objects to define a region of interest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polygon
Specifies a shape made up of up to 10
This is a convenience method that creates an instance of thePoint
objects to define a region of interest.Point.Builder
avoiding the need to create one manually viaPoint.builder()
.When the
Consumer
completes,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:
-