Interface CelebrityRecognition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CelebrityRecognition.Builder,,CelebrityRecognition> SdkBuilder<CelebrityRecognition.Builder,,CelebrityRecognition> SdkPojo
- Enclosing class:
CelebrityRecognition
public static interface CelebrityRecognition.Builder
extends SdkPojo, CopyableBuilder<CelebrityRecognition.Builder,CelebrityRecognition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CelebrityRecognition.Buildercelebrity(Consumer<CelebrityDetail.Builder> celebrity) Information about a recognized celebrity.celebrity(CelebrityDetail celebrity) Information about a recognized celebrity.The time, in milliseconds from the start of the video, that the celebrity was recognized.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, sdkFieldNameToField, sdkFields
-
Method Details
-
timestamp
The time, in milliseconds from the start of the video, that the celebrity was recognized. Note that
Timestampis not guaranteed to be accurate to the individual frame where the celebrity first appears.- Parameters:
timestamp- The time, in milliseconds from the start of the video, that the celebrity was recognized. Note thatTimestampis not guaranteed to be accurate to the individual frame where the celebrity first appears.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
celebrity
Information about a recognized celebrity.
- Parameters:
celebrity- Information about a recognized celebrity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
celebrity
Information about a recognized celebrity.
This is a convenience method that creates an instance of theCelebrityDetail.Builderavoiding the need to create one manually viaCelebrityDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocelebrity(CelebrityDetail).- Parameters:
celebrity- a consumer that will call methods onCelebrityDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-