@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCelebrityRecognitionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCelebrityRecognitionResult() |
Modifier and Type | Method and Description |
---|---|
GetCelebrityRecognitionResult |
clone() |
boolean |
equals(Object obj) |
List<CelebrityRecognition> |
getCelebrities()
Array of celebrities recognized in the video.
|
String |
getJobStatus()
The current status of the celebrity recognition job.
|
String |
getNextToken()
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent
request to retrieve the next set of celebrities.
|
String |
getStatusMessage()
If the job fails,
StatusMessage provides a descriptive error message. |
VideoMetadata |
getVideoMetadata()
Information about a video that Amazon Rekognition Video analyzed.
|
int |
hashCode() |
void |
setCelebrities(Collection<CelebrityRecognition> celebrities)
Array of celebrities recognized in the video.
|
void |
setJobStatus(String jobStatus)
The current status of the celebrity recognition job.
|
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent
request to retrieve the next set of celebrities.
|
void |
setStatusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
void |
setVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
|
String |
toString()
Returns a string representation of this object.
|
GetCelebrityRecognitionResult |
withCelebrities(CelebrityRecognition... celebrities)
Array of celebrities recognized in the video.
|
GetCelebrityRecognitionResult |
withCelebrities(Collection<CelebrityRecognition> celebrities)
Array of celebrities recognized in the video.
|
GetCelebrityRecognitionResult |
withJobStatus(String jobStatus)
The current status of the celebrity recognition job.
|
GetCelebrityRecognitionResult |
withJobStatus(VideoJobStatus jobStatus)
The current status of the celebrity recognition job.
|
GetCelebrityRecognitionResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent
request to retrieve the next set of celebrities.
|
GetCelebrityRecognitionResult |
withStatusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
GetCelebrityRecognitionResult |
withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobStatus(String jobStatus)
The current status of the celebrity recognition job.
jobStatus
- The current status of the celebrity recognition job.VideoJobStatus
public String getJobStatus()
The current status of the celebrity recognition job.
VideoJobStatus
public GetCelebrityRecognitionResult withJobStatus(String jobStatus)
The current status of the celebrity recognition job.
jobStatus
- The current status of the celebrity recognition job.VideoJobStatus
public GetCelebrityRecognitionResult withJobStatus(VideoJobStatus jobStatus)
The current status of the celebrity recognition job.
jobStatus
- The current status of the celebrity recognition job.VideoJobStatus
public void setStatusMessage(String statusMessage)
If the job fails, StatusMessage
provides a descriptive error message.
statusMessage
- If the job fails, StatusMessage
provides a descriptive error message.public String getStatusMessage()
If the job fails, StatusMessage
provides a descriptive error message.
StatusMessage
provides a descriptive error message.public GetCelebrityRecognitionResult withStatusMessage(String statusMessage)
If the job fails, StatusMessage
provides a descriptive error message.
statusMessage
- If the job fails, StatusMessage
provides a descriptive error message.public void setVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed. Videometadata
is returned in every
page of paginated responses from a Amazon Rekognition Video operation.
videoMetadata
- Information about a video that Amazon Rekognition Video analyzed. Videometadata
is returned
in every page of paginated responses from a Amazon Rekognition Video operation.public VideoMetadata getVideoMetadata()
Information about a video that Amazon Rekognition Video analyzed. Videometadata
is returned in every
page of paginated responses from a Amazon Rekognition Video operation.
Videometadata
is returned
in every page of paginated responses from a Amazon Rekognition Video operation.public GetCelebrityRecognitionResult withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed. Videometadata
is returned in every
page of paginated responses from a Amazon Rekognition Video operation.
videoMetadata
- Information about a video that Amazon Rekognition Video analyzed. Videometadata
is returned
in every page of paginated responses from a Amazon Rekognition Video operation.public void setNextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of celebrities.
nextToken
- If the response is truncated, Amazon Rekognition Video returns this token that you can use in the
subsequent request to retrieve the next set of celebrities.public String getNextToken()
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of celebrities.
public GetCelebrityRecognitionResult withNextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of celebrities.
nextToken
- If the response is truncated, Amazon Rekognition Video returns this token that you can use in the
subsequent request to retrieve the next set of celebrities.public List<CelebrityRecognition> getCelebrities()
Array of celebrities recognized in the video.
public void setCelebrities(Collection<CelebrityRecognition> celebrities)
Array of celebrities recognized in the video.
celebrities
- Array of celebrities recognized in the video.public GetCelebrityRecognitionResult withCelebrities(CelebrityRecognition... celebrities)
Array of celebrities recognized in the video.
NOTE: This method appends the values to the existing list (if any). Use
setCelebrities(java.util.Collection)
or withCelebrities(java.util.Collection)
if you want to
override the existing values.
celebrities
- Array of celebrities recognized in the video.public GetCelebrityRecognitionResult withCelebrities(Collection<CelebrityRecognition> celebrities)
Array of celebrities recognized in the video.
celebrities
- Array of celebrities recognized in the video.public String toString()
toString
in class Object
Object.toString()
public GetCelebrityRecognitionResult clone()