public static interface CreateStreamProcessorRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<CreateStreamProcessorRequest.Builder,CreateStreamProcessorRequest>
| Modifier and Type | Method and Description |
|---|---|
default CreateStreamProcessorRequest.Builder |
dataSharingPreference(Consumer<StreamProcessorDataSharingPreference.Builder> dataSharingPreference)
Shows whether you are sharing data with Rekognition to improve model performance.
|
CreateStreamProcessorRequest.Builder |
dataSharingPreference(StreamProcessorDataSharingPreference dataSharingPreference)
Shows whether you are sharing data with Rekognition to improve model performance.
|
default CreateStreamProcessorRequest.Builder |
input(Consumer<StreamProcessorInput.Builder> input)
Kinesis video stream stream that provides the source streaming video.
|
CreateStreamProcessorRequest.Builder |
input(StreamProcessorInput input)
Kinesis video stream stream that provides the source streaming video.
|
CreateStreamProcessorRequest.Builder |
kmsKeyId(String kmsKeyId)
The identifier for your AWS Key Management Service key (AWS KMS key).
|
CreateStreamProcessorRequest.Builder |
name(String name)
An identifier you assign to the stream processor.
|
default CreateStreamProcessorRequest.Builder |
notificationChannel(Consumer<StreamProcessorNotificationChannel.Builder> notificationChannel)
Sets the value of the NotificationChannel property for this object.
|
CreateStreamProcessorRequest.Builder |
notificationChannel(StreamProcessorNotificationChannel notificationChannel)
Sets the value of the NotificationChannel property for this object.
|
default CreateStreamProcessorRequest.Builder |
output(Consumer<StreamProcessorOutput.Builder> output)
Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis
results.
|
CreateStreamProcessorRequest.Builder |
output(StreamProcessorOutput output)
Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis
results.
|
CreateStreamProcessorRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateStreamProcessorRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateStreamProcessorRequest.Builder |
regionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)
Specifies locations in the frames where Amazon Rekognition checks for objects or people.
|
CreateStreamProcessorRequest.Builder |
regionsOfInterest(Consumer<RegionOfInterest.Builder>... regionsOfInterest)
Specifies locations in the frames where Amazon Rekognition checks for objects or people.
|
CreateStreamProcessorRequest.Builder |
regionsOfInterest(RegionOfInterest... regionsOfInterest)
Specifies locations in the frames where Amazon Rekognition checks for objects or people.
|
CreateStreamProcessorRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor.
|
default CreateStreamProcessorRequest.Builder |
settings(Consumer<StreamProcessorSettings.Builder> settings)
Input parameters used in a streaming video analyzed by a stream processor.
|
CreateStreamProcessorRequest.Builder |
settings(StreamProcessorSettings settings)
Input parameters used in a streaming video analyzed by a stream processor.
|
CreateStreamProcessorRequest.Builder |
tags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the stream processor.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateStreamProcessorRequest.Builder input(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.default CreateStreamProcessorRequest.Builder input(Consumer<StreamProcessorInput.Builder> 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.Builder avoiding
the need to create one manually via StreamProcessorInput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to input(StreamProcessorInput).
input - a consumer that will call methods on StreamProcessorInput.Builderinput(StreamProcessorInput)CreateStreamProcessorRequest.Builder output(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.default CreateStreamProcessorRequest.Builder output(Consumer<StreamProcessorOutput.Builder> 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.Builder avoiding
the need to create one manually via StreamProcessorOutput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to output(StreamProcessorOutput).
output - a consumer that will call methods on StreamProcessorOutput.Builderoutput(StreamProcessorOutput)CreateStreamProcessorRequest.Builder name(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.CreateStreamProcessorRequest.Builder settings(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.default CreateStreamProcessorRequest.Builder settings(Consumer<StreamProcessorSettings.Builder> 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.
StreamProcessorSettings.Builder avoiding
the need to create one manually via StreamProcessorSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to settings(StreamProcessorSettings).
settings - a consumer that will call methods on StreamProcessorSettings.Buildersettings(StreamProcessorSettings)CreateStreamProcessorRequest.Builder roleArn(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.CreateStreamProcessorRequest.Builder tags(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.CreateStreamProcessorRequest.Builder notificationChannel(StreamProcessorNotificationChannel notificationChannel)
notificationChannel - The new value for the NotificationChannel property for this object.default CreateStreamProcessorRequest.Builder notificationChannel(Consumer<StreamProcessorNotificationChannel.Builder> notificationChannel)
StreamProcessorNotificationChannel.Builder avoiding the need to create one manually via
StreamProcessorNotificationChannel.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to notificationChannel(StreamProcessorNotificationChannel).
notificationChannel - a consumer that will call methods on StreamProcessorNotificationChannel.BuildernotificationChannel(StreamProcessorNotificationChannel)CreateStreamProcessorRequest.Builder kmsKeyId(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.
CreateStreamProcessorRequest.Builder regionsOfInterest(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.CreateStreamProcessorRequest.Builder regionsOfInterest(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.CreateStreamProcessorRequest.Builder regionsOfInterest(Consumer<RegionOfInterest.Builder>... 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.
This is a convenience method that creates an instance of theRegionOfInterest.Builder avoiding the need to
create one manually via RegionOfInterest.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #regionsOfInterest(List.
regionsOfInterest - a consumer that will call methods on
RegionOfInterest.Builder#regionsOfInterest(java.util.Collection) CreateStreamProcessorRequest.Builder dataSharingPreference(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.default CreateStreamProcessorRequest.Builder dataSharingPreference(Consumer<StreamProcessorDataSharingPreference.Builder> 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.
This is a convenience method that creates an instance of theStreamProcessorDataSharingPreference.Builder avoiding the need to create one manually via
StreamProcessorDataSharingPreference.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to dataSharingPreference(StreamProcessorDataSharingPreference).
dataSharingPreference - a consumer that will call methods on StreamProcessorDataSharingPreference.BuilderdataSharingPreference(StreamProcessorDataSharingPreference)CreateStreamProcessorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateStreamProcessorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.