Struct aws_sdk_rekognition::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder
source · pub struct UpdateStreamProcessorFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateStreamProcessor
.
Allows you to update a stream processor. You can change some settings and regions of interest and delete certain parameters.
Implementations§
source§impl UpdateStreamProcessorFluentBuilder
impl UpdateStreamProcessorFluentBuilder
sourcepub fn as_input(&self) -> &UpdateStreamProcessorInputBuilder
pub fn as_input(&self) -> &UpdateStreamProcessorInputBuilder
Access the UpdateStreamProcessor as a reference.
sourcepub async fn send(
self
) -> Result<UpdateStreamProcessorOutput, SdkError<UpdateStreamProcessorError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateStreamProcessorOutput, SdkError<UpdateStreamProcessorError, 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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateStreamProcessorOutput, UpdateStreamProcessorError>, SdkError<UpdateStreamProcessorError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateStreamProcessorOutput, UpdateStreamProcessorError>, SdkError<UpdateStreamProcessorError>>
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
Name of the stream processor that you want to update.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Name of the stream processor that you want to update.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Name of the stream processor that you want to update.
sourcepub fn settings_for_update(
self,
input: StreamProcessorSettingsForUpdate
) -> Self
pub fn settings_for_update( self, input: StreamProcessorSettingsForUpdate ) -> Self
The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
sourcepub fn set_settings_for_update(
self,
input: Option<StreamProcessorSettingsForUpdate>
) -> Self
pub fn set_settings_for_update( self, input: Option<StreamProcessorSettingsForUpdate> ) -> Self
The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
sourcepub fn get_settings_for_update(
&self
) -> &Option<StreamProcessorSettingsForUpdate>
pub fn get_settings_for_update( &self ) -> &Option<StreamProcessorSettingsForUpdate>
The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
sourcepub fn regions_of_interest_for_update(self, input: RegionOfInterest) -> Self
pub fn regions_of_interest_for_update(self, input: RegionOfInterest) -> Self
Appends an item to RegionsOfInterestForUpdate
.
To override the contents of this collection use set_regions_of_interest_for_update
.
Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
sourcepub fn set_regions_of_interest_for_update(
self,
input: Option<Vec<RegionOfInterest>>
) -> Self
pub fn set_regions_of_interest_for_update( self, input: Option<Vec<RegionOfInterest>> ) -> Self
Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
sourcepub fn get_regions_of_interest_for_update(
&self
) -> &Option<Vec<RegionOfInterest>>
pub fn get_regions_of_interest_for_update( &self ) -> &Option<Vec<RegionOfInterest>>
Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
sourcepub fn data_sharing_preference_for_update(
self,
input: StreamProcessorDataSharingPreference
) -> Self
pub fn data_sharing_preference_for_update( self, input: StreamProcessorDataSharingPreference ) -> Self
Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
sourcepub fn set_data_sharing_preference_for_update(
self,
input: Option<StreamProcessorDataSharingPreference>
) -> Self
pub fn set_data_sharing_preference_for_update( self, input: Option<StreamProcessorDataSharingPreference> ) -> Self
Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
sourcepub fn get_data_sharing_preference_for_update(
&self
) -> &Option<StreamProcessorDataSharingPreference>
pub fn get_data_sharing_preference_for_update( &self ) -> &Option<StreamProcessorDataSharingPreference>
Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
sourcepub fn parameters_to_delete(
self,
input: StreamProcessorParameterToDelete
) -> Self
pub fn parameters_to_delete( self, input: StreamProcessorParameterToDelete ) -> Self
Appends an item to ParametersToDelete
.
To override the contents of this collection use set_parameters_to_delete
.
A list of parameters you want to delete from the stream processor.
sourcepub fn set_parameters_to_delete(
self,
input: Option<Vec<StreamProcessorParameterToDelete>>
) -> Self
pub fn set_parameters_to_delete( self, input: Option<Vec<StreamProcessorParameterToDelete>> ) -> Self
A list of parameters you want to delete from the stream processor.
sourcepub fn get_parameters_to_delete(
&self
) -> &Option<Vec<StreamProcessorParameterToDelete>>
pub fn get_parameters_to_delete( &self ) -> &Option<Vec<StreamProcessorParameterToDelete>>
A list of parameters you want to delete from the stream processor.
Trait Implementations§
source§impl Clone for UpdateStreamProcessorFluentBuilder
impl Clone for UpdateStreamProcessorFluentBuilder
source§fn clone(&self) -> UpdateStreamProcessorFluentBuilder
fn clone(&self) -> UpdateStreamProcessorFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more