Struct aws_sdk_rekognition::operation::start_stream_processor::builders::StartStreamProcessorFluentBuilder
source · pub struct StartStreamProcessorFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StartStreamProcessor.
Starts processing a stream processor. You create a stream processor by calling CreateStreamProcessor. To tell StartStreamProcessor which stream processor to start, use the value of the Name field specified in the call to CreateStreamProcessor.
If you are using a label detection stream processor to detect labels, you need to provide a Start selector and a Stop selector to determine the length of the stream processing time.
Implementations§
source§impl StartStreamProcessorFluentBuilder
impl StartStreamProcessorFluentBuilder
sourcepub fn as_input(&self) -> &StartStreamProcessorInputBuilder
pub fn as_input(&self) -> &StartStreamProcessorInputBuilder
Access the StartStreamProcessor as a reference.
sourcepub async fn send(
self
) -> Result<StartStreamProcessorOutput, SdkError<StartStreamProcessorError, HttpResponse>>
pub async fn send( self ) -> Result<StartStreamProcessorOutput, SdkError<StartStreamProcessorError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartStreamProcessorOutput, StartStreamProcessorError, Self>
pub fn customize( self ) -> CustomizableOperation<StartStreamProcessorOutput, StartStreamProcessorError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the stream processor to start processing.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the stream processor to start processing.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the stream processor to start processing.
sourcepub fn start_selector(self, input: StreamProcessingStartSelector) -> Self
pub fn start_selector(self, input: StreamProcessingStartSelector) -> Self
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.
sourcepub fn set_start_selector(
self,
input: Option<StreamProcessingStartSelector>
) -> Self
pub fn set_start_selector( self, input: Option<StreamProcessingStartSelector> ) -> Self
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.
sourcepub fn get_start_selector(&self) -> &Option<StreamProcessingStartSelector>
pub fn get_start_selector(&self) -> &Option<StreamProcessingStartSelector>
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.
sourcepub fn stop_selector(self, input: StreamProcessingStopSelector) -> Self
pub fn stop_selector(self, input: StreamProcessingStopSelector) -> Self
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.
sourcepub fn set_stop_selector(
self,
input: Option<StreamProcessingStopSelector>
) -> Self
pub fn set_stop_selector( self, input: Option<StreamProcessingStopSelector> ) -> Self
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.
sourcepub fn get_stop_selector(&self) -> &Option<StreamProcessingStopSelector>
pub fn get_stop_selector(&self) -> &Option<StreamProcessingStopSelector>
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.
Trait Implementations§
source§impl Clone for StartStreamProcessorFluentBuilder
impl Clone for StartStreamProcessorFluentBuilder
source§fn clone(&self) -> StartStreamProcessorFluentBuilder
fn clone(&self) -> StartStreamProcessorFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more