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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TextDetectionResult.BuildertextDetection(Consumer<TextDetection.Builder> textDetection)Details about text detected in a video.TextDetectionResult.BuildertextDetection(TextDetection textDetection)Details about text detected in a video.TextDetectionResult.Buildertimestamp(Long timestamp)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
timestamp
TextDetectionResult.Builder timestamp(Long 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
TextDetectionResult.Builder textDetection(TextDetection 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
default TextDetectionResult.Builder textDetection(Consumer<TextDetection.Builder> 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:
textDetection(TextDetection)
-
-