@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStreamProcessorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateStreamProcessorRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStreamProcessorRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateStreamProcessorRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateStreamProcessorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
StreamProcessorDataSharingPreference |
getDataSharingPreference()
Shows whether you are sharing data with Rekognition to improve model performance.
|
StreamProcessorInput |
getInput()
Kinesis video stream stream that provides the source streaming video.
|
String |
getKmsKeyId()
The identifier for your AWS Key Management Service key (AWS KMS key).
|
String |
getName()
An identifier you assign to the stream processor.
|
StreamProcessorNotificationChannel |
getNotificationChannel() |
StreamProcessorOutput |
getOutput()
Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis
results.
|
List<RegionOfInterest> |
getRegionsOfInterest()
Specifies locations in the frames where Amazon Rekognition checks for objects or people.
|
String |
getRoleArn()
The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor.
|
StreamProcessorSettings |
getSettings()
Input parameters used in a streaming video analyzed by a stream processor.
|
Map<String,String> |
getTags()
A set of tags (key-value pairs) that you want to attach to the stream processor.
|
int |
hashCode() |
void |
setDataSharingPreference(StreamProcessorDataSharingPreference dataSharingPreference)
Shows whether you are sharing data with Rekognition to improve model performance.
|
void |
setInput(StreamProcessorInput input)
Kinesis video stream stream that provides the source streaming video.
|
void |
setKmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
void |
setName(String name)
An identifier you assign to the stream processor.
|
void |
setNotificationChannel(StreamProcessorNotificationChannel notificationChannel) |
void |
setOutput(StreamProcessorOutput output)
Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis
results.
|
void |
setRegionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
Specifies locations in the frames where Amazon Rekognition checks for objects or people.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor.
|
void |
setSettings(StreamProcessorSettings settings)
Input parameters used in a streaming video analyzed by a stream processor.
|
void |
setTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the stream processor.
|
String |
toString()
Returns a string representation of this object.
|
CreateStreamProcessorRequest |
withDataSharingPreference(StreamProcessorDataSharingPreference dataSharingPreference)
Shows whether you are sharing data with Rekognition to improve model performance.
|
CreateStreamProcessorRequest |
withInput(StreamProcessorInput input)
Kinesis video stream stream that provides the source streaming video.
|
CreateStreamProcessorRequest |
withKmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
CreateStreamProcessorRequest |
withName(String name)
An identifier you assign to the stream processor.
|
CreateStreamProcessorRequest |
withNotificationChannel(StreamProcessorNotificationChannel notificationChannel) |
CreateStreamProcessorRequest |
withOutput(StreamProcessorOutput output)
Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis
results.
|
CreateStreamProcessorRequest |
withRegionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
Specifies locations in the frames where Amazon Rekognition checks for objects or people.
|
CreateStreamProcessorRequest |
withRegionsOfInterest(RegionOfInterest... regionsOfInterest)
Specifies locations in the frames where Amazon Rekognition checks for objects or people.
|
CreateStreamProcessorRequest |
withRoleArn(String roleArn)
The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor.
|
CreateStreamProcessorRequest |
withSettings(StreamProcessorSettings settings)
Input parameters used in a streaming video analyzed by a stream processor.
|
CreateStreamProcessorRequest |
withTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the stream processor.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInput(StreamProcessorInput input)
Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter
name is StreamProcessorInput
. This is required for both face search and label detection stream
processors.
input
- Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the
parameter name is StreamProcessorInput
. This is required for both face search and label
detection stream processors.public StreamProcessorInput getInput()
Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter
name is StreamProcessorInput
. This is required for both face search and label detection stream
processors.
StreamProcessorInput
. This is required for both face search and label
detection stream processors.public CreateStreamProcessorRequest withInput(StreamProcessorInput input)
Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter
name is StreamProcessorInput
. This is required for both face search and label detection stream
processors.
input
- Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the
parameter name is StreamProcessorInput
. This is required for both face search and label
detection stream processors.public void setOutput(StreamProcessorOutput output)
Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis
results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput
. This must be a
S3Destination of an Amazon S3 bucket that you own for a label detection stream processor or a Kinesis data
stream ARN for a face search stream processor.
output
- Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the
analysis results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput
.
This must be a S3Destination of an Amazon S3 bucket that you own for a label detection stream
processor or a Kinesis data stream ARN for a face search stream processor.public StreamProcessorOutput getOutput()
Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis
results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput
. This must be a
S3Destination of an Amazon S3 bucket that you own for a label detection stream processor or a Kinesis data
stream ARN for a face search stream processor.
StreamProcessorOutput
.
This must be a S3Destination of an Amazon S3 bucket that you own for a label detection stream
processor or a Kinesis data stream ARN for a face search stream processor.public CreateStreamProcessorRequest withOutput(StreamProcessorOutput output)
Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis
results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput
. This must be a
S3Destination of an Amazon S3 bucket that you own for a label detection stream processor or a Kinesis data
stream ARN for a face search stream processor.
output
- Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the
analysis results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput
.
This must be a S3Destination of an Amazon S3 bucket that you own for a label detection stream
processor or a Kinesis data stream ARN for a face search stream processor.public void setName(String name)
An identifier you assign to the stream processor. You can use Name
to manage the stream processor.
For example, you can get the current status of the stream processor by calling DescribeStreamProcessor.
Name
is idempotent. This is required for both face search and label detection stream processors.
name
- An identifier you assign to the stream processor. You can use Name
to manage the stream
processor. For example, you can get the current status of the stream processor by calling
DescribeStreamProcessor. Name
is idempotent. This is required for both face search and
label detection stream processors.public String getName()
An identifier you assign to the stream processor. You can use Name
to manage the stream processor.
For example, you can get the current status of the stream processor by calling DescribeStreamProcessor.
Name
is idempotent. This is required for both face search and label detection stream processors.
Name
to manage the stream
processor. For example, you can get the current status of the stream processor by calling
DescribeStreamProcessor. Name
is idempotent. This is required for both face search
and label detection stream processors.public CreateStreamProcessorRequest withName(String name)
An identifier you assign to the stream processor. You can use Name
to manage the stream processor.
For example, you can get the current status of the stream processor by calling DescribeStreamProcessor.
Name
is idempotent. This is required for both face search and label detection stream processors.
name
- An identifier you assign to the stream processor. You can use Name
to manage the stream
processor. For example, you can get the current status of the stream processor by calling
DescribeStreamProcessor. Name
is idempotent. This is required for both face search and
label detection stream processors.public void setSettings(StreamProcessorSettings settings)
Input parameters used in a streaming video analyzed by a stream processor. You can use FaceSearch
to
recognize faces in a streaming video, or you can use ConnectedHome
to detect labels.
settings
- Input parameters used in a streaming video analyzed by a stream processor. You can use
FaceSearch
to recognize faces in a streaming video, or you can use ConnectedHome
to detect labels.public StreamProcessorSettings getSettings()
Input parameters used in a streaming video analyzed by a stream processor. You can use FaceSearch
to
recognize faces in a streaming video, or you can use ConnectedHome
to detect labels.
FaceSearch
to recognize faces in a streaming video, or you can use
ConnectedHome
to detect labels.public CreateStreamProcessorRequest withSettings(StreamProcessorSettings settings)
Input parameters used in a streaming video analyzed by a stream processor. You can use FaceSearch
to
recognize faces in a streaming video, or you can use ConnectedHome
to detect labels.
settings
- Input parameters used in a streaming video analyzed by a stream processor. You can use
FaceSearch
to recognize faces in a streaming video, or you can use ConnectedHome
to detect labels.public void setRoleArn(String roleArn)
The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor. The IAM role provides Rekognition read permissions for a Kinesis stream. It also provides write permissions to an Amazon S3 bucket and Amazon Simple Notification Service topic for a label detection stream processor. This is required for both face search and label detection stream processors.
roleArn
- The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor. The IAM role
provides Rekognition read permissions for a Kinesis stream. It also provides write permissions to an
Amazon S3 bucket and Amazon Simple Notification Service topic for a label detection stream processor. This
is required for both face search and label detection stream processors.public String getRoleArn()
The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor. The IAM role provides Rekognition read permissions for a Kinesis stream. It also provides write permissions to an Amazon S3 bucket and Amazon Simple Notification Service topic for a label detection stream processor. This is required for both face search and label detection stream processors.
public CreateStreamProcessorRequest withRoleArn(String roleArn)
The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor. The IAM role provides Rekognition read permissions for a Kinesis stream. It also provides write permissions to an Amazon S3 bucket and Amazon Simple Notification Service topic for a label detection stream processor. This is required for both face search and label detection stream processors.
roleArn
- The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor. The IAM role
provides Rekognition read permissions for a Kinesis stream. It also provides write permissions to an
Amazon S3 bucket and Amazon Simple Notification Service topic for a label detection stream processor. This
is required for both face search and label detection stream processors.public Map<String,String> getTags()
A set of tags (key-value pairs) that you want to attach to the stream processor.
public void setTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the stream processor.
tags
- A set of tags (key-value pairs) that you want to attach to the stream processor.public CreateStreamProcessorRequest withTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the stream processor.
tags
- A set of tags (key-value pairs) that you want to attach to the stream processor.public CreateStreamProcessorRequest addTagsEntry(String key, String value)
public CreateStreamProcessorRequest clearTagsEntries()
public void setNotificationChannel(StreamProcessorNotificationChannel notificationChannel)
notificationChannel
- public StreamProcessorNotificationChannel getNotificationChannel()
public CreateStreamProcessorRequest withNotificationChannel(StreamProcessorNotificationChannel notificationChannel)
notificationChannel
- public void setKmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor. You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt results and data published to your Amazon S3 bucket, which includes image frames and hero images. Your source images are unaffected.
kmsKeyId
- The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for
label detection stream processors and should not be used to create a face search stream processor. You can
supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key,
or an alias ARN. The key is used to encrypt results and data published to your Amazon S3 bucket, which
includes image frames and hero images. Your source images are unaffected.
public String getKmsKeyId()
The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor. You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt results and data published to your Amazon S3 bucket, which includes image frames and hero images. Your source images are unaffected.
public CreateStreamProcessorRequest withKmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor. You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt results and data published to your Amazon S3 bucket, which includes image frames and hero images. Your source images are unaffected.
kmsKeyId
- The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for
label detection stream processors and should not be used to create a face search stream processor. You can
supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key,
or an alias ARN. The key is used to encrypt results and data published to your Amazon S3 bucket, which
includes image frames and hero images. Your source images are unaffected.
public List<RegionOfInterest> getRegionsOfInterest()
Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor.
public void setRegionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor.
regionsOfInterest
- Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify
up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional
parameter for label detection stream processors and should not be used to create a face search stream
processor.public CreateStreamProcessorRequest withRegionsOfInterest(RegionOfInterest... regionsOfInterest)
Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor.
NOTE: This method appends the values to the existing list (if any). Use
setRegionsOfInterest(java.util.Collection)
or withRegionsOfInterest(java.util.Collection)
if
you want to override the existing values.
regionsOfInterest
- Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify
up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional
parameter for label detection stream processors and should not be used to create a face search stream
processor.public CreateStreamProcessorRequest withRegionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor.
regionsOfInterest
- Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify
up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional
parameter for label detection stream processors and should not be used to create a face search stream
processor.public void setDataSharingPreference(StreamProcessorDataSharingPreference dataSharingPreference)
Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
dataSharingPreference
- Shows whether you are sharing data with Rekognition to improve model performance. You can choose this
option at the account level or on a per-stream basis. Note that if you opt out at the account level this
setting is ignored on individual streams.public StreamProcessorDataSharingPreference getDataSharingPreference()
Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
public CreateStreamProcessorRequest withDataSharingPreference(StreamProcessorDataSharingPreference dataSharingPreference)
Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
dataSharingPreference
- Shows whether you are sharing data with Rekognition to improve model performance. You can choose this
option at the account level or on a per-stream basis. Note that if you opt out at the account level this
setting is ignored on individual streams.public String toString()
toString
in class Object
Object.toString()
public CreateStreamProcessorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()