Class FaceAnalyzerBuilder
- java.lang.Object
-
- com.azure.android.ai.vision.faceanalyzer.FaceAnalyzerBuilder
-
public final class FaceAnalyzerBuilder extends Object
The builder class for FaceAnalyzer. Note: close() must be called on the created FaceAnalyzer in order to release underlying resources held by the object.
-
-
Constructor Summary
Constructors Constructor Description FaceAnalyzerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<FaceAnalyzer>
build()
Creates a new FaceAnalyzer.FaceAnalyzerBuilder
createOptions(FaceAnalyzerCreateOptions createOptions)
Sets the create options.FaceAnalyzerBuilder
serviceOptions(VisionServiceOptions serviceOptions)
Sets the service options.FaceAnalyzerBuilder
source(VisionSource source)
Sets the vision source.
-
-
-
Method Detail
-
build
public final CompletableFuture<FaceAnalyzer> build()
Creates a new FaceAnalyzer.
-
serviceOptions
public final FaceAnalyzerBuilder serviceOptions(VisionServiceOptions serviceOptions)
Sets the service options.- Parameters:
serviceOptions
- the options for the vision service
-
source
public final FaceAnalyzerBuilder source(VisionSource source)
Sets the vision source.- Parameters:
source
- the vision source
-
createOptions
public final FaceAnalyzerBuilder createOptions(FaceAnalyzerCreateOptions createOptions)
Sets the create options.- Parameters:
createOptions
- the create options
-
-