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.BuildertextDetection(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
Timestampis 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 thatTimestampis 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.Builderavoiding the need to create one manually viaTextDetection.builder().When the
Consumercompletes,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:
-