Interface CreateStreamProcessorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStreamProcessorRequest.Builder,CreateStreamProcessorRequest>,RekognitionRequest.Builder,SdkBuilder<CreateStreamProcessorRequest.Builder,CreateStreamProcessorRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateStreamProcessorRequest
public static interface CreateStreamProcessorRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<CreateStreamProcessorRequest.Builder,CreateStreamProcessorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateStreamProcessorRequest.BuilderdataSharingPreference(Consumer<StreamProcessorDataSharingPreference.Builder> dataSharingPreference)Shows whether you are sharing data with Rekognition to improve model performance.CreateStreamProcessorRequest.BuilderdataSharingPreference(StreamProcessorDataSharingPreference dataSharingPreference)Shows whether you are sharing data with Rekognition to improve model performance.default CreateStreamProcessorRequest.Builderinput(Consumer<StreamProcessorInput.Builder> input)Kinesis video stream stream that provides the source streaming video.CreateStreamProcessorRequest.Builderinput(StreamProcessorInput input)Kinesis video stream stream that provides the source streaming video.CreateStreamProcessorRequest.BuilderkmsKeyId(String kmsKeyId)The identifier for your AWS Key Management Service key (AWS KMS key).CreateStreamProcessorRequest.Buildername(String name)An identifier you assign to the stream processor.default CreateStreamProcessorRequest.BuildernotificationChannel(Consumer<StreamProcessorNotificationChannel.Builder> notificationChannel)Sets the value of the NotificationChannel property for this object.CreateStreamProcessorRequest.BuildernotificationChannel(StreamProcessorNotificationChannel notificationChannel)Sets the value of the NotificationChannel property for this object.default CreateStreamProcessorRequest.Builderoutput(Consumer<StreamProcessorOutput.Builder> output)Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis results.CreateStreamProcessorRequest.Builderoutput(StreamProcessorOutput output)Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis results.CreateStreamProcessorRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateStreamProcessorRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateStreamProcessorRequest.BuilderregionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)Specifies locations in the frames where Amazon Rekognition checks for objects or people.CreateStreamProcessorRequest.BuilderregionsOfInterest(Consumer<RegionOfInterest.Builder>... regionsOfInterest)Specifies locations in the frames where Amazon Rekognition checks for objects or people.CreateStreamProcessorRequest.BuilderregionsOfInterest(RegionOfInterest... regionsOfInterest)Specifies locations in the frames where Amazon Rekognition checks for objects or people.CreateStreamProcessorRequest.BuilderroleArn(String roleArn)The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor.default CreateStreamProcessorRequest.Buildersettings(Consumer<StreamProcessorSettings.Builder> settings)Input parameters used in a streaming video analyzed by a stream processor.CreateStreamProcessorRequest.Buildersettings(StreamProcessorSettings settings)Input parameters used in a streaming video analyzed by a stream processor.CreateStreamProcessorRequest.Buildertags(Map<String,String> tags)A set of tags (key-value pairs) that you want to attach to the stream processor.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
input
CreateStreamProcessorRequest.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.- Parameters:
input- Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter name isStreamProcessorInput. This is required for both face search and label detection stream processors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
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
This is a convenience method that creates an instance of theStreamProcessorInput. This is required for both face search and label detection stream processors.StreamProcessorInput.Builderavoiding the need to create one manually viaStreamProcessorInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinput(StreamProcessorInput).- Parameters:
input- a consumer that will call methods onStreamProcessorInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
input(StreamProcessorInput)
-
output
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.- Parameters:
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 isStreamProcessorOutput. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
output
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
This is a convenience method that creates an instance of theStreamProcessorOutput. 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.Builderavoiding the need to create one manually viaStreamProcessorOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutput(StreamProcessorOutput).- Parameters:
output- a consumer that will call methods onStreamProcessorOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
output(StreamProcessorOutput)
-
name
CreateStreamProcessorRequest.Builder name(String name)
An identifier you assign to the stream processor. You can use
Nameto manage the stream processor. For example, you can get the current status of the stream processor by calling DescribeStreamProcessor.Nameis idempotent. This is required for both face search and label detection stream processors.- Parameters:
name- An identifier you assign to the stream processor. You can useNameto manage the stream processor. For example, you can get the current status of the stream processor by calling DescribeStreamProcessor.Nameis idempotent. This is required for both face search and label detection stream processors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
CreateStreamProcessorRequest.Builder settings(StreamProcessorSettings settings)
Input parameters used in a streaming video analyzed by a stream processor. You can use
FaceSearchto recognize faces in a streaming video, or you can useConnectedHometo detect labels.- Parameters:
settings- Input parameters used in a streaming video analyzed by a stream processor. You can useFaceSearchto recognize faces in a streaming video, or you can useConnectedHometo detect labels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
default CreateStreamProcessorRequest.Builder settings(Consumer<StreamProcessorSettings.Builder> settings)
Input parameters used in a streaming video analyzed by a stream processor. You can use
This is a convenience method that creates an instance of theFaceSearchto recognize faces in a streaming video, or you can useConnectedHometo detect labels.StreamProcessorSettings.Builderavoiding the need to create one manually viaStreamProcessorSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosettings(StreamProcessorSettings).- Parameters:
settings- a consumer that will call methods onStreamProcessorSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
settings(StreamProcessorSettings)
-
roleArn
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateStreamProcessorRequest.Builder tags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the stream processor.
- Parameters:
tags- A set of tags (key-value pairs) that you want to attach to the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationChannel
CreateStreamProcessorRequest.Builder notificationChannel(StreamProcessorNotificationChannel notificationChannel)
Sets the value of the NotificationChannel property for this object.- Parameters:
notificationChannel- The new value for the NotificationChannel property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationChannel
default CreateStreamProcessorRequest.Builder notificationChannel(Consumer<StreamProcessorNotificationChannel.Builder> notificationChannel)
Sets the value of the NotificationChannel property for this object. This is a convenience method that creates an instance of theStreamProcessorNotificationChannel.Builderavoiding the need to create one manually viaStreamProcessorNotificationChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationChannel(StreamProcessorNotificationChannel).- Parameters:
notificationChannel- a consumer that will call methods onStreamProcessorNotificationChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
notificationChannel(StreamProcessorNotificationChannel)
-
kmsKeyId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
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.Builderavoiding the need to create one manually viaRegionOfInterest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#regionsOfInterest(List.) - Parameters:
regionsOfInterest- a consumer that will call methods onRegionOfInterest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#regionsOfInterest(java.util.Collection)
-
dataSharingPreference
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSharingPreference
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.Builderavoiding the need to create one manually viaStreamProcessorDataSharingPreference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSharingPreference(StreamProcessorDataSharingPreference).- Parameters:
dataSharingPreference- a consumer that will call methods onStreamProcessorDataSharingPreference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataSharingPreference(StreamProcessorDataSharingPreference)
-
overrideConfiguration
CreateStreamProcessorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateStreamProcessorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-