Interface DetectTextFilters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DetectTextFilters.Builder,
,DetectTextFilters> SdkBuilder<DetectTextFilters.Builder,
,DetectTextFilters> SdkPojo
- Enclosing class:
DetectTextFilters
public static interface DetectTextFilters.Builder
extends SdkPojo, CopyableBuilder<DetectTextFilters.Builder,DetectTextFilters>
-
Method Summary
Modifier and TypeMethodDescriptionregionsOfInterest
(Collection<RegionOfInterest> regionsOfInterest) A Filter focusing on a certain area of the image.regionsOfInterest
(Consumer<RegionOfInterest.Builder>... regionsOfInterest) A Filter focusing on a certain area of the image.regionsOfInterest
(RegionOfInterest... regionsOfInterest) A Filter focusing on a certain area of the image.default DetectTextFilters.Builder
wordFilter
(Consumer<DetectionFilter.Builder> wordFilter) Sets the value of the WordFilter property for this object.wordFilter
(DetectionFilter wordFilter) Sets the value of the WordFilter property for this object.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
-
wordFilter
Sets the value of the WordFilter property for this object.- Parameters:
wordFilter
- The new value for the WordFilter property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wordFilter
Sets the value of the WordFilter property for this object. This is a convenience method that creates an instance of theDetectionFilter.Builder
avoiding the need to create one manually viaDetectionFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towordFilter(DetectionFilter)
.- Parameters:
wordFilter
- a consumer that will call methods onDetectionFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regionsOfInterest
A Filter focusing on a certain area of the image. Uses a
BoundingBox
object to set the region of the image.- Parameters:
regionsOfInterest
- A Filter focusing on a certain area of the image. Uses aBoundingBox
object to set the region of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
A Filter focusing on a certain area of the image. Uses a
BoundingBox
object to set the region of the image.- Parameters:
regionsOfInterest
- A Filter focusing on a certain area of the image. Uses aBoundingBox
object to set the region of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
DetectTextFilters.Builder regionsOfInterest(Consumer<RegionOfInterest.Builder>... regionsOfInterest) A Filter focusing on a certain area of the image. Uses a
This is a convenience method that creates an instance of theBoundingBox
object to set the region of the image.RegionOfInterest.Builder
avoiding the need to create one manually viaRegionOfInterest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregionsOfInterest(List<RegionOfInterest>)
.- Parameters:
regionsOfInterest
- a consumer that will call methods onRegionOfInterest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-