Struct aws_sdk_rekognition::operation::start_stream_processor::builders::StartStreamProcessorInputBuilder
source · #[non_exhaustive]pub struct StartStreamProcessorInputBuilder { /* private fields */ }Expand description
A builder for StartStreamProcessorInput.
Implementations§
source§impl StartStreamProcessorInputBuilder
impl StartStreamProcessorInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<StartStreamProcessorInput, BuildError>
pub fn build(self) -> Result<StartStreamProcessorInput, BuildError>
Consumes the builder and constructs a StartStreamProcessorInput.
source§impl StartStreamProcessorInputBuilder
impl StartStreamProcessorInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartStreamProcessorOutput, SdkError<StartStreamProcessorError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartStreamProcessorOutput, SdkError<StartStreamProcessorError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartStreamProcessorInputBuilder
impl Clone for StartStreamProcessorInputBuilder
source§fn clone(&self) -> StartStreamProcessorInputBuilder
fn clone(&self) -> StartStreamProcessorInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartStreamProcessorInputBuilder
impl Default for StartStreamProcessorInputBuilder
source§fn default() -> StartStreamProcessorInputBuilder
fn default() -> StartStreamProcessorInputBuilder
source§impl PartialEq for StartStreamProcessorInputBuilder
impl PartialEq for StartStreamProcessorInputBuilder
source§fn eq(&self, other: &StartStreamProcessorInputBuilder) -> bool
fn eq(&self, other: &StartStreamProcessorInputBuilder) -> bool
self and other values to be equal, and is used
by ==.