Interface StartTextDetectionFilters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StartTextDetectionFilters.Builder,StartTextDetectionFilters>,SdkBuilder<StartTextDetectionFilters.Builder,StartTextDetectionFilters>,SdkPojo
- Enclosing class:
- StartTextDetectionFilters
public static interface StartTextDetectionFilters.Builder extends SdkPojo, CopyableBuilder<StartTextDetectionFilters.Builder,StartTextDetectionFilters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartTextDetectionFilters.BuilderregionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)Filter focusing on a certain area of the frame.StartTextDetectionFilters.BuilderregionsOfInterest(Consumer<RegionOfInterest.Builder>... regionsOfInterest)Filter focusing on a certain area of the frame.StartTextDetectionFilters.BuilderregionsOfInterest(RegionOfInterest... regionsOfInterest)Filter focusing on a certain area of the frame.default StartTextDetectionFilters.BuilderwordFilter(Consumer<DetectionFilter.Builder> wordFilter)Filters focusing on qualities of the text, such as confidence or size.StartTextDetectionFilters.BuilderwordFilter(DetectionFilter wordFilter)Filters focusing on qualities of the text, such as confidence or size.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
wordFilter
StartTextDetectionFilters.Builder wordFilter(DetectionFilter wordFilter)
Filters focusing on qualities of the text, such as confidence or size.
- Parameters:
wordFilter- Filters focusing on qualities of the text, such as confidence or size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wordFilter
default StartTextDetectionFilters.Builder wordFilter(Consumer<DetectionFilter.Builder> wordFilter)
Filters focusing on qualities of the text, such as confidence or size.
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
StartTextDetectionFilters.Builder regionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
Filter focusing on a certain area of the frame. Uses a
BoundingBoxobject to set the region of the screen.- Parameters:
regionsOfInterest- Filter focusing on a certain area of the frame. Uses aBoundingBoxobject to set the region of the screen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
StartTextDetectionFilters.Builder regionsOfInterest(RegionOfInterest... regionsOfInterest)
Filter focusing on a certain area of the frame. Uses a
BoundingBoxobject to set the region of the screen.- Parameters:
regionsOfInterest- Filter focusing on a certain area of the frame. Uses aBoundingBoxobject to set the region of the screen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
StartTextDetectionFilters.Builder regionsOfInterest(Consumer<RegionOfInterest.Builder>... regionsOfInterest)
Filter focusing on a certain area of the frame. Uses a
This is a convenience method that creates an instance of theBoundingBoxobject to set the region of the screen.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)
-
-