public class GetCelebrityRecognitionResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GetCelebrityRecognitionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<CelebrityRecognition> |
getCelebrities()
Array of celebrities recognized in the video.
|
java.lang.String |
getJobStatus()
The current status of the celebrity recognition job.
|
java.lang.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.
|
java.lang.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(java.util.Collection<CelebrityRecognition> celebrities)
Array of celebrities recognized in the video.
|
void |
setJobStatus(java.lang.String jobStatus)
The current status of the celebrity recognition job.
|
void |
setJobStatus(VideoJobStatus jobStatus)
The current status of the celebrity recognition job.
|
void |
setNextToken(java.lang.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(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetCelebrityRecognitionResult |
withCelebrities(CelebrityRecognition... celebrities)
Array of celebrities recognized in the video.
|
GetCelebrityRecognitionResult |
withCelebrities(java.util.Collection<CelebrityRecognition> celebrities)
Array of celebrities recognized in the video.
|
GetCelebrityRecognitionResult |
withJobStatus(java.lang.String jobStatus)
The current status of the celebrity recognition job.
|
GetCelebrityRecognitionResult |
withJobStatus(VideoJobStatus jobStatus)
The current status of the celebrity recognition job.
|
GetCelebrityRecognitionResult |
withNextToken(java.lang.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(java.lang.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.
|
public java.lang.String getJobStatus()
The current status of the celebrity recognition job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
The current status of the celebrity recognition job.
VideoJobStatus
public void setJobStatus(java.lang.String jobStatus)
The current status of the celebrity recognition job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the celebrity recognition job.
VideoJobStatus
public GetCelebrityRecognitionResult withJobStatus(java.lang.String jobStatus)
The current status of the celebrity recognition job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the celebrity recognition job.
VideoJobStatus
public void setJobStatus(VideoJobStatus jobStatus)
The current status of the celebrity recognition job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the celebrity recognition job.
VideoJobStatus
public GetCelebrityRecognitionResult withJobStatus(VideoJobStatus jobStatus)
The current status of the celebrity recognition job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the celebrity recognition job.
VideoJobStatus
public java.lang.String getStatusMessage()
If the job fails, StatusMessage
provides a descriptive error
message.
If the job fails, StatusMessage
provides a
descriptive error message.
public void setStatusMessage(java.lang.String statusMessage)
If the job fails, StatusMessage
provides a descriptive error
message.
statusMessage
-
If the job fails, StatusMessage
provides a
descriptive error message.
public GetCelebrityRecognitionResult withStatusMessage(java.lang.String statusMessage)
If the job fails, StatusMessage
provides a descriptive error
message.
Returns a reference to this object so that method calls can be chained together.
statusMessage
-
If the job fails, StatusMessage
provides a
descriptive error message.
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.
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 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 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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.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.
Constraints:
Length: - 255
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 void setNextToken(java.lang.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.
Constraints:
Length: - 255
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 GetCelebrityRecognitionResult withNextToken(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 255
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 java.util.List<CelebrityRecognition> getCelebrities()
Array of celebrities recognized in the video.
Array of celebrities recognized in the video.
public void setCelebrities(java.util.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.
Returns a reference to this object so that method calls can be chained together.
celebrities
- Array of celebrities recognized in the video.
public GetCelebrityRecognitionResult withCelebrities(java.util.Collection<CelebrityRecognition> celebrities)
Array of celebrities recognized in the video.
Returns a reference to this object so that method calls can be chained together.
celebrities
- Array of celebrities recognized in the video.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.