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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DetectTextFilters.BuilderregionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)A Filter focusing on a certain area of the image.DetectTextFilters.BuilderregionsOfInterest(Consumer<RegionOfInterest.Builder>... regionsOfInterest)A Filter focusing on a certain area of the image.DetectTextFilters.BuilderregionsOfInterest(RegionOfInterest... regionsOfInterest)A Filter focusing on a certain area of the image.default DetectTextFilters.BuilderwordFilter(Consumer<DetectionFilter.Builder> wordFilter)Sets the value of the WordFilter property for this object.DetectTextFilters.BuilderwordFilter(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 Detail
-
wordFilter
DetectTextFilters.Builder wordFilter(DetectionFilter 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
default DetectTextFilters.Builder wordFilter(Consumer<DetectionFilter.Builder> wordFilter)
Sets the value of the WordFilter property for this object. This is a convenience method that creates an instance of theDetectionFilter.Builderavoiding the need to create one manually viaDetectionFilter.builder().When the
Consumercompletes,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:
wordFilter(DetectionFilter)
-
regionsOfInterest
DetectTextFilters.Builder regionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
A Filter focusing on a certain area of the image. Uses a
BoundingBoxobject to set the region of the image.- Parameters:
regionsOfInterest- A Filter focusing on a certain area of the image. Uses aBoundingBoxobject 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(RegionOfInterest... regionsOfInterest)
A Filter focusing on a certain area of the image. Uses a
BoundingBoxobject to set the region of the image.- Parameters:
regionsOfInterest- A Filter focusing on a certain area of the image. Uses aBoundingBoxobject 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 theBoundingBoxobject to set the region of the image.RegionOfInterest.Builderavoiding the need to create one manually viaRegionOfInterest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#regionsOfInterest(List.) - 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:
#regionsOfInterest(java.util.Collection)
-
-