Interface SearchedFaceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SearchedFaceDetails.Builder,,SearchedFaceDetails> SdkBuilder<SearchedFaceDetails.Builder,,SearchedFaceDetails> SdkPojo
- Enclosing class:
SearchedFaceDetails
@Mutable
@NotThreadSafe
public static interface SearchedFaceDetails.Builder
extends SdkPojo, CopyableBuilder<SearchedFaceDetails.Builder,SearchedFaceDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SearchedFaceDetails.BuilderfaceDetail(Consumer<FaceDetail.Builder> faceDetail) Sets the value of the FaceDetail property for this object.faceDetail(FaceDetail faceDetail) Sets the value of the FaceDetail property for this object.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
-
faceDetail
Sets the value of the FaceDetail property for this object.- Parameters:
faceDetail- The new value for the FaceDetail property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceDetail
Sets the value of the FaceDetail property for this object. This is a convenience method that creates an instance of theFaceDetail.Builderavoiding the need to create one manually viaFaceDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofaceDetail(FaceDetail).- Parameters:
faceDetail- a consumer that will call methods onFaceDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-