Interface TextDetectionResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TextDetectionResult.Builder,
,TextDetectionResult> SdkBuilder<TextDetectionResult.Builder,
,TextDetectionResult> SdkPojo
- Enclosing class:
TextDetectionResult
public static interface TextDetectionResult.Builder
extends SdkPojo, CopyableBuilder<TextDetectionResult.Builder,TextDetectionResult>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TextDetectionResult.Builder
textDetection
(Consumer<TextDetection.Builder> textDetection) Details about text detected in a video.textDetection
(TextDetection textDetection) Details about text detected in a video.The time, in milliseconds from the start of the video, that the text was detected.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
-
timestamp
The time, in milliseconds from the start of the video, that the text was detected. Note that
Timestamp
is not guaranteed to be accurate to the individual frame where the text first appears.- Parameters:
timestamp
- The time, in milliseconds from the start of the video, that the text was detected. Note thatTimestamp
is not guaranteed to be accurate to the individual frame where the text first appears.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textDetection
Details about text detected in a video.
- Parameters:
textDetection
- Details about text detected in a video.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textDetection
Details about text detected in a video.
This is a convenience method that creates an instance of theTextDetection.Builder
avoiding the need to create one manually viaTextDetection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextDetection(TextDetection)
.- Parameters:
textDetection
- a consumer that will call methods onTextDetection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-