Interface StartStreamProcessorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartStreamProcessorRequest.Builder,StartStreamProcessorRequest>,RekognitionRequest.Builder,SdkBuilder<StartStreamProcessorRequest.Builder,StartStreamProcessorRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartStreamProcessorRequest
public static interface StartStreamProcessorRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<StartStreamProcessorRequest.Builder,StartStreamProcessorRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
StartStreamProcessorRequest.Builder name(String 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
StartStreamProcessorRequest.Builder startSelector(StreamProcessingStartSelector 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.Builderavoiding the need to create one manually viaStreamProcessingStartSelector.builder().When the
Consumercompletes,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:
startSelector(StreamProcessingStartSelector)
-
stopSelector
StartStreamProcessorRequest.Builder stopSelector(StreamProcessingStopSelector 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.Builderavoiding the need to create one manually viaStreamProcessingStopSelector.builder().When the
Consumercompletes,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:
stopSelector(StreamProcessingStopSelector)
-
overrideConfiguration
StartStreamProcessorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartStreamProcessorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-