Interface DescribeStreamProcessorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeStreamProcessorResponse.Builder,
,DescribeStreamProcessorResponse> RekognitionResponse.Builder
,SdkBuilder<DescribeStreamProcessorResponse.Builder,
,DescribeStreamProcessorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeStreamProcessorResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimestamp
(Instant creationTimestamp) Date and time the stream processor was createddataSharingPreference
(Consumer<StreamProcessorDataSharingPreference.Builder> dataSharingPreference) Shows whether you are sharing data with Rekognition to improve model performance.dataSharingPreference
(StreamProcessorDataSharingPreference dataSharingPreference) Shows whether you are sharing data with Rekognition to improve model performance.Kinesis video stream that provides the source streaming video.input
(StreamProcessorInput input) Kinesis video stream that provides the source streaming video.The identifier for your AWS Key Management Service key (AWS KMS key).lastUpdateTimestamp
(Instant lastUpdateTimestamp) The time, in Unix format, the stream processor was last updated.Name of the stream processor.notificationChannel
(Consumer<StreamProcessorNotificationChannel.Builder> notificationChannel) Sets the value of the NotificationChannel property for this object.notificationChannel
(StreamProcessorNotificationChannel notificationChannel) Sets the value of the NotificationChannel property for this object.output
(Consumer<StreamProcessorOutput.Builder> output) Kinesis data stream to which Amazon Rekognition Video puts the analysis results.output
(StreamProcessorOutput output) Kinesis data stream to which Amazon Rekognition Video puts the analysis results.regionsOfInterest
(Collection<RegionOfInterest> regionsOfInterest) Specifies locations in the frames where Amazon Rekognition checks for objects or people.regionsOfInterest
(Consumer<RegionOfInterest.Builder>... regionsOfInterest) Specifies locations in the frames where Amazon Rekognition checks for objects or people.regionsOfInterest
(RegionOfInterest... regionsOfInterest) Specifies locations in the frames where Amazon Rekognition checks for objects or people.ARN of the IAM role that allows access to the stream processor.settings
(Consumer<StreamProcessorSettings.Builder> settings) Input parameters used in a streaming video analyzed by a stream processor.settings
(StreamProcessorSettings settings) Input parameters used in a streaming video analyzed by a stream processor.Current status of the stream processor.status
(StreamProcessorStatus status) Current status of the stream processor.statusMessage
(String statusMessage) Detailed status message about the stream processor.streamProcessorArn
(String streamProcessorArn) ARN of the stream processor.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
name
Name of the stream processor.
- Parameters:
name
- Name of the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamProcessorArn
ARN of the stream processor.
- Parameters:
streamProcessorArn
- ARN of the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Current status of the stream processor.
- Parameters:
status
- Current status of the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Current status of the stream processor.
- Parameters:
status
- Current status of the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
Detailed status message about the stream processor.
- Parameters:
statusMessage
- Detailed status message about the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
Date and time the stream processor was created
- Parameters:
creationTimestamp
- Date and time the stream processor was created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTimestamp
The time, in Unix format, the stream processor was last updated. For example, when the stream processor moves from a running state to a failed state, or when the user starts or stops the stream processor.
- Parameters:
lastUpdateTimestamp
- The time, in Unix format, the stream processor was last updated. For example, when the stream processor moves from a running state to a failed state, or when the user starts or stops the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
Kinesis video stream that provides the source streaming video.
- Parameters:
input
- Kinesis video stream that provides the source streaming video.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
Kinesis video stream that provides the source streaming video.
This is a convenience method that creates an instance of theStreamProcessorInput.Builder
avoiding the need to create one manually viaStreamProcessorInput.builder()
.When the
Consumer
completes,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:
-
output
Kinesis data stream to which Amazon Rekognition Video puts the analysis results.
- Parameters:
output
- Kinesis data stream to which Amazon Rekognition Video puts the analysis results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
output
default DescribeStreamProcessorResponse.Builder output(Consumer<StreamProcessorOutput.Builder> output) Kinesis data stream to which Amazon Rekognition Video puts the analysis results.
This is a convenience method that creates an instance of theStreamProcessorOutput.Builder
avoiding the need to create one manually viaStreamProcessorOutput.builder()
.When the
Consumer
completes,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:
-
roleArn
ARN of the IAM role that allows access to the stream processor.
- Parameters:
roleArn
- ARN of the IAM role that allows access to the stream processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 useConnectedHome
to detect labels.- Parameters:
settings
- Input parameters used in a streaming video analyzed by a stream processor. You can useFaceSearch
to recognize faces in a streaming video, or you can useConnectedHome
to detect labels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
default DescribeStreamProcessorResponse.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 theFaceSearch
to recognize faces in a streaming video, or you can useConnectedHome
to detect labels.StreamProcessorSettings.Builder
avoiding the need to create one manually viaStreamProcessorSettings.builder()
.When the
Consumer
completes,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:
-
notificationChannel
DescribeStreamProcessorResponse.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 DescribeStreamProcessorResponse.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.Builder
avoiding the need to create one manually viaStreamProcessorNotificationChannel.builder()
.When the
Consumer
completes,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:
-
kmsKeyId
The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors.
- Parameters:
kmsKeyId
- The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
DescribeStreamProcessorResponse.Builder regionsOfInterest(Collection<RegionOfInterest> regionsOfInterest) Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
- Parameters:
regionsOfInterest
- Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
- Parameters:
regionsOfInterest
- Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsOfInterest
DescribeStreamProcessorResponse.Builder regionsOfInterest(Consumer<RegionOfInterest.Builder>... regionsOfInterest) Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
This is a convenience method that creates an instance of theRegionOfInterest.Builder
avoiding the need to create one manually viaRegionOfInterest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregionsOfInterest(List<RegionOfInterest>)
.- 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:
-
dataSharingPreference
DescribeStreamProcessorResponse.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 DescribeStreamProcessorResponse.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 viaStreamProcessorDataSharingPreference.builder()
.When the
Consumer
completes,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:
-