Interface SearchedFaceDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchedFaceDetails.Builder,
,SearchedFaceDetails> SdkBuilder<SearchedFaceDetails.Builder,
,SearchedFaceDetails> SdkPojo
- Enclosing class:
SearchedFaceDetails
public static interface SearchedFaceDetails.Builder
extends SdkPojo, CopyableBuilder<SearchedFaceDetails.Builder,SearchedFaceDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SearchedFaceDetails.Builder
faceDetail
(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
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
-
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.Builder
avoiding the need to create one manually viaFaceDetail.builder()
.When the
Consumer
completes,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:
-