pub struct Builder { /* private fields */ }Expand description
A builder for StartStreamProcessorInput.
Implementations
sourceimpl Builder
impl Builder
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 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. For more information, 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. For more information, 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 build(self) -> Result<StartStreamProcessorInput, BuildError>
pub fn build(self) -> Result<StartStreamProcessorInput, BuildError>
Consumes the builder and constructs a StartStreamProcessorInput.