Interface DescribeStreamProcessorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeStreamProcessorResponse.Builder,DescribeStreamProcessorResponse>,RekognitionResponse.Builder,SdkBuilder<DescribeStreamProcessorResponse.Builder,DescribeStreamProcessorResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeStreamProcessorResponse
public static interface DescribeStreamProcessorResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DescribeStreamProcessorResponse.Builder,DescribeStreamProcessorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeStreamProcessorResponse.BuildercreationTimestamp(Instant creationTimestamp)Date and time the stream processor was createddefault DescribeStreamProcessorResponse.BuilderdataSharingPreference(Consumer<StreamProcessorDataSharingPreference.Builder> dataSharingPreference)Shows whether you are sharing data with Rekognition to improve model performance.DescribeStreamProcessorResponse.BuilderdataSharingPreference(StreamProcessorDataSharingPreference dataSharingPreference)Shows whether you are sharing data with Rekognition to improve model performance.default DescribeStreamProcessorResponse.Builderinput(Consumer<StreamProcessorInput.Builder> input)Kinesis video stream that provides the source streaming video.DescribeStreamProcessorResponse.Builderinput(StreamProcessorInput input)Kinesis video stream that provides the source streaming video.DescribeStreamProcessorResponse.BuilderkmsKeyId(String kmsKeyId)The identifier for your AWS Key Management Service key (AWS KMS key).DescribeStreamProcessorResponse.BuilderlastUpdateTimestamp(Instant lastUpdateTimestamp)The time, in Unix format, the stream processor was last updated.DescribeStreamProcessorResponse.Buildername(String name)Name of the stream processor.default DescribeStreamProcessorResponse.BuildernotificationChannel(Consumer<StreamProcessorNotificationChannel.Builder> notificationChannel)Sets the value of the NotificationChannel property for this object.DescribeStreamProcessorResponse.BuildernotificationChannel(StreamProcessorNotificationChannel notificationChannel)Sets the value of the NotificationChannel property for this object.default DescribeStreamProcessorResponse.Builderoutput(Consumer<StreamProcessorOutput.Builder> output)Kinesis data stream to which Amazon Rekognition Video puts the analysis results.DescribeStreamProcessorResponse.Builderoutput(StreamProcessorOutput output)Kinesis data stream to which Amazon Rekognition Video puts the analysis results.DescribeStreamProcessorResponse.BuilderregionsOfInterest(Collection<RegionOfInterest> regionsOfInterest)Specifies locations in the frames where Amazon Rekognition checks for objects or people.DescribeStreamProcessorResponse.BuilderregionsOfInterest(Consumer<RegionOfInterest.Builder>... regionsOfInterest)Specifies locations in the frames where Amazon Rekognition checks for objects or people.DescribeStreamProcessorResponse.BuilderregionsOfInterest(RegionOfInterest... regionsOfInterest)Specifies locations in the frames where Amazon Rekognition checks for objects or people.DescribeStreamProcessorResponse.BuilderroleArn(String roleArn)ARN of the IAM role that allows access to the stream processor.default DescribeStreamProcessorResponse.Buildersettings(Consumer<StreamProcessorSettings.Builder> settings)Input parameters used in a streaming video analyzed by a stream processor.DescribeStreamProcessorResponse.Buildersettings(StreamProcessorSettings settings)Input parameters used in a streaming video analyzed by a stream processor.DescribeStreamProcessorResponse.Builderstatus(String status)Current status of the stream processor.DescribeStreamProcessorResponse.Builderstatus(StreamProcessorStatus status)Current status of the stream processor.DescribeStreamProcessorResponse.BuilderstatusMessage(String statusMessage)Detailed status message about the stream processor.DescribeStreamProcessorResponse.BuilderstreamProcessorArn(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
DescribeStreamProcessorResponse.Builder name(String 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
DescribeStreamProcessorResponse.Builder streamProcessorArn(String 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
DescribeStreamProcessorResponse.Builder status(String 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:
StreamProcessorStatus,StreamProcessorStatus
-
status
DescribeStreamProcessorResponse.Builder status(StreamProcessorStatus 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:
StreamProcessorStatus,StreamProcessorStatus
-
statusMessage
DescribeStreamProcessorResponse.Builder statusMessage(String 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
DescribeStreamProcessorResponse.Builder creationTimestamp(Instant 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
DescribeStreamProcessorResponse.Builder lastUpdateTimestamp(Instant 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
DescribeStreamProcessorResponse.Builder input(StreamProcessorInput 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
default DescribeStreamProcessorResponse.Builder input(Consumer<StreamProcessorInput.Builder> input)
Kinesis video stream that provides the source streaming video.
This is a convenience method that creates an instance of theStreamProcessorInput.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
DescribeStreamProcessorResponse.Builder output(StreamProcessorOutput 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.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)
-
roleArn
DescribeStreamProcessorResponse.Builder roleArn(String 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
DescribeStreamProcessorResponse.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 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 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)
-
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.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
DescribeStreamProcessorResponse.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.
- 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
DescribeStreamProcessorResponse.Builder regionsOfInterest(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
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.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
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.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)
-
-