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.
This field is required.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 for UpdateStreamProcessorInputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for UpdateStreamProcessorInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateStreamProcessorInputBuilder
impl RefUnwindSafe for UpdateStreamProcessorInputBuilder
impl Send for UpdateStreamProcessorInputBuilder
impl Sync for UpdateStreamProcessorInputBuilder
impl Unpin for UpdateStreamProcessorInputBuilder
impl UnwindSafe for UpdateStreamProcessorInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more