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.BuilderboundingBox(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 10Pointobjects to define a region of interest.polygon(Consumer<Point.Builder>... polygon) Specifies a shape made up of up to 10Pointobjects to define a region of interest.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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
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
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
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 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:
-