CopyableBuilder<Celebrity.Builder,Celebrity>
, SdkBuilder<Celebrity.Builder,Celebrity>
public static interface Celebrity.Builder extends CopyableBuilder<Celebrity.Builder,Celebrity>
Modifier and Type | Method | Description |
---|---|---|
Celebrity.Builder |
face(ComparedFace face) |
Provides information about the celebrity's face, such as its location on the image.
|
Celebrity.Builder |
id(String id) |
A unique identifier for the celebrity.
|
Celebrity.Builder |
matchConfidence(Float matchConfidence) |
The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.
|
Celebrity.Builder |
name(String name) |
The name of the celebrity.
|
Celebrity.Builder |
urls(String... urls) |
An array of URLs pointing to additional information about the celebrity.
|
Celebrity.Builder |
urls(Collection<String> urls) |
An array of URLs pointing to additional information about the celebrity.
|
copy
apply, build
Celebrity.Builder urls(Collection<String> urls)
An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
urls
- An array of URLs pointing to additional information about the celebrity. If there is no additional
information about the celebrity, this list is empty.Celebrity.Builder urls(String... urls)
An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
NOTE: This method appends the values to the existing list (if any). Use
#setUrls(java.util.Collection)
or #withUrls(java.util.Collection)
if you want to override the
existing values.
urls
- An array of URLs pointing to additional information about the celebrity. If there is no additional
information about the celebrity, this list is empty.Celebrity.Builder name(String name)
The name of the celebrity.
name
- The name of the celebrity.Celebrity.Builder id(String id)
A unique identifier for the celebrity.
id
- A unique identifier for the celebrity.Celebrity.Builder face(ComparedFace face)
Provides information about the celebrity's face, such as its location on the image.
face
- Provides information about the celebrity's face, such as its location on the image.Celebrity.Builder matchConfidence(Float matchConfidence)
The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.
matchConfidence
- The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.