public class StreamProcessor extends Object implements Serializable
An object that recognizes faces in a streaming video. An Amazon Rekognition
stream processor is created by a call to . 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(Object obj) |
String |
getName()
Name of the Amazon Rekognition stream processor.
|
String |
getStatus()
Current status of the Amazon Rekognition stream processor.
|
int |
hashCode() |
void |
setName(String name)
Name of the Amazon Rekognition stream processor.
|
void |
setStatus(StreamProcessorStatus status)
Current status of the Amazon Rekognition stream processor.
|
void |
setStatus(String status)
Current status of the Amazon Rekognition stream processor.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StreamProcessor |
withName(String name)
Name of the Amazon Rekognition stream processor.
|
StreamProcessor |
withStatus(StreamProcessorStatus status)
Current status of the Amazon Rekognition stream processor.
|
StreamProcessor |
withStatus(String status)
Current status of the Amazon Rekognition stream processor.
|
public 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(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(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 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.
StreamProcessorStatus
public void setStatus(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.
StreamProcessorStatus
public StreamProcessor withStatus(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.
StreamProcessorStatus
public 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.
StreamProcessorStatus
public 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.
StreamProcessorStatus
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.