@Generated(value="software.amazon.awssdk:codegen") public final class CreateStreamProcessorRequest extends RekognitionRequest implements ToCopyableBuilder<CreateStreamProcessorRequest.Builder,CreateStreamProcessorRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateStreamProcessorRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateStreamProcessorRequest.Builder |
builder() |
StreamProcessorDataSharingPreference |
dataSharingPreference()
Shows whether you are sharing data with Rekognition to improve model performance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRegionsOfInterest()
For responses, this returns true if the service returned a value for the RegionsOfInterest property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
StreamProcessorInput |
input()
Kinesis video stream stream that provides the source streaming video.
|
String |
kmsKeyId()
The identifier for your AWS Key Management Service key (AWS KMS key).
|
String |
name()
An identifier you assign to the stream processor.
|
StreamProcessorNotificationChannel |
notificationChannel()
Returns the value of the NotificationChannel property for this object.
|
StreamProcessorOutput |
output()
Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis
results.
|
List<RegionOfInterest> |
regionsOfInterest()
Specifies locations in the frames where Amazon Rekognition checks for objects or people.
|
String |
roleArn()
The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateStreamProcessorRequest.Builder> |
serializableBuilderClass() |
StreamProcessorSettings |
settings()
Input parameters used in a streaming video analyzed by a stream processor.
|
Map<String,String> |
tags()
A set of tags (key-value pairs) that you want to attach to the stream processor.
|
CreateStreamProcessorRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
StreamProcessorInput. This is required for both face search and label
detection stream processors.public final 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.
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 final 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 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 final 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.
FaceSearch to recognize faces in a streaming video, or you can use
ConnectedHome to detect labels.public final 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.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
A set of tags (key-value pairs) that you want to attach to the stream processor.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final StreamProcessorNotificationChannel notificationChannel()
public final 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.
public final boolean hasRegionsOfInterest()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRegionsOfInterest() method.
public final 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.
public CreateStreamProcessorRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateStreamProcessorRequest.Builder,CreateStreamProcessorRequest>toBuilder in class RekognitionRequestpublic static CreateStreamProcessorRequest.Builder builder()
public static Class<? extends CreateStreamProcessorRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.