Interface StartTextDetectionFilters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StartTextDetectionFilters.Builder,
,StartTextDetectionFilters> SdkBuilder<StartTextDetectionFilters.Builder,
,StartTextDetectionFilters> SdkPojo
- Enclosing class:
StartTextDetectionFilters
-
Method Summary
Modifier and TypeMethodDescriptionregionsOfInterest
(Collection<RegionOfInterest> regionsOfInterest) Filter focusing on a certain area of the frame.regionsOfInterest
(Consumer<RegionOfInterest.Builder>... regionsOfInterest) Filter focusing on a certain area of the frame.regionsOfInterest
(RegionOfInterest... regionsOfInterest) Filter focusing on a certain area of the frame.wordFilter
(Consumer<DetectionFilter.Builder> wordFilter) Filters focusing on qualities of the text, such as confidence or size.wordFilter
(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, sdkFields
-
Method Details
-
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
Filters focusing on qualities of the text, such as confidence or size.
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
Filter focusing on a certain area of the frame. Uses a
BoundingBox
object to set the region of the screen.- Parameters:
regionsOfInterest
- Filter focusing on a certain area of the frame. Uses aBoundingBox
object to set the region of the screen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
Filter focusing on a certain area of the frame. Uses a
BoundingBox
object to set the region of the screen.- Parameters:
regionsOfInterest
- Filter focusing on a certain area of the frame. Uses aBoundingBox
object 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 theBoundingBox
object to set the region of the screen.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:
-