public class StreamProcessor
extends java.lang.Object
implements java.io.Serializable
An object that recognizes faces in a streaming video. An Amazon Rekognition
stream processor is created by a call to CreateStreamProcessor. The
request parameters for CreateStreamProcessor describe the
Kinesis video stream source for the streaming video, face recognition
parameters, and where to stream the analysis resullts.
| Constructor and Description |
|---|
StreamProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Name of the Amazon Rekognition stream processor.
|
java.lang.String |
getStatus()
Current status of the Amazon Rekognition stream processor.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Name of the Amazon Rekognition stream processor.
|
void |
setStatus(StreamProcessorStatus status)
Current status of the Amazon Rekognition stream processor.
|
void |
setStatus(java.lang.String status)
Current status of the Amazon Rekognition stream processor.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StreamProcessor |
withName(java.lang.String name)
Name of the Amazon Rekognition stream processor.
|
StreamProcessor |
withStatus(StreamProcessorStatus status)
Current status of the Amazon Rekognition stream processor.
|
StreamProcessor |
withStatus(java.lang.String status)
Current status of the Amazon Rekognition stream processor.
|
public java.lang.String getName()
Name of the Amazon Rekognition stream processor.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.\-]+
Name of the Amazon Rekognition stream processor.
public void setName(java.lang.String name)
Name of the Amazon Rekognition stream processor.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.\-]+
name - Name of the Amazon Rekognition stream processor.
public StreamProcessor withName(java.lang.String name)
Name of the Amazon Rekognition stream processor.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.\-]+
name - Name of the Amazon Rekognition stream processor.
public java.lang.String getStatus()
Current status of the Amazon Rekognition stream processor.
Constraints:
Allowed Values: STOPPED, STARTING, RUNNING, FAILED, STOPPING
Current status of the Amazon Rekognition stream processor.
StreamProcessorStatuspublic void setStatus(java.lang.String status)
Current status of the Amazon Rekognition stream processor.
Constraints:
Allowed Values: STOPPED, STARTING, RUNNING, FAILED, STOPPING
status - Current status of the Amazon Rekognition stream processor.
StreamProcessorStatuspublic StreamProcessor withStatus(java.lang.String status)
Current status of the Amazon Rekognition stream processor.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STOPPED, STARTING, RUNNING, FAILED, STOPPING
status - Current status of the Amazon Rekognition stream processor.
StreamProcessorStatuspublic void setStatus(StreamProcessorStatus status)
Current status of the Amazon Rekognition stream processor.
Constraints:
Allowed Values: STOPPED, STARTING, RUNNING, FAILED, STOPPING
status - Current status of the Amazon Rekognition stream processor.
StreamProcessorStatuspublic StreamProcessor withStatus(StreamProcessorStatus status)
Current status of the Amazon Rekognition stream processor.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STOPPED, STARTING, RUNNING, FAILED, STOPPING
status - Current status of the Amazon Rekognition stream processor.
StreamProcessorStatuspublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.