Interface StartStreamProcessorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartStreamProcessorRequest.Builder,
,StartStreamProcessorRequest> RekognitionRequest.Builder
,SdkBuilder<StartStreamProcessorRequest.Builder,
,StartStreamProcessorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartStreamProcessorRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the stream processor to start processing.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.startSelector
(Consumer<StreamProcessingStartSelector.Builder> startSelector) Specifies the starting point in the Kinesis stream to start processing.startSelector
(StreamProcessingStartSelector startSelector) Specifies the starting point in the Kinesis stream to start processing.stopSelector
(Consumer<StreamProcessingStopSelector.Builder> stopSelector) Specifies when to stop processing the stream.stopSelector
(StreamProcessingStopSelector stopSelector) Specifies when to stop processing the stream.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 Details
-
name
The name of the stream processor to start processing.
- Parameters:
name
- The name of the stream processor to start processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startSelector
Specifies the starting point in the Kinesis stream to start processing. You can use the producer timestamp or the fragment number. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, see Fragment.
This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.
- Parameters:
startSelector
- Specifies the starting point in the Kinesis stream to start processing. You can use the producer timestamp or the fragment number. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, see Fragment.This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startSelector
default StartStreamProcessorRequest.Builder startSelector(Consumer<StreamProcessingStartSelector.Builder> startSelector) Specifies the starting point in the Kinesis stream to start processing. You can use the producer timestamp or the fragment number. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, see Fragment.
This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.
This is a convenience method that creates an instance of theStreamProcessingStartSelector.Builder
avoiding the need to create one manually viaStreamProcessingStartSelector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartSelector(StreamProcessingStartSelector)
.- Parameters:
startSelector
- a consumer that will call methods onStreamProcessingStartSelector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stopSelector
Specifies when to stop processing the stream. You can specify a maximum amount of time to process the video.
This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.
- Parameters:
stopSelector
- Specifies when to stop processing the stream. You can specify a maximum amount of time to process the video.This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopSelector
default StartStreamProcessorRequest.Builder stopSelector(Consumer<StreamProcessingStopSelector.Builder> stopSelector) Specifies when to stop processing the stream. You can specify a maximum amount of time to process the video.
This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.
This is a convenience method that creates an instance of theStreamProcessingStopSelector.Builder
avoiding the need to create one manually viaStreamProcessingStopSelector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostopSelector(StreamProcessingStopSelector)
.- Parameters:
stopSelector
- a consumer that will call methods onStreamProcessingStopSelector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartStreamProcessorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartStreamProcessorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-