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