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