pub struct Builder { /* private fields */ }Expand description
A builder for StreamProcessorSettings.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn face_search(self, input: FaceSearchSettings) -> Self
pub fn face_search(self, input: FaceSearchSettings) -> Self
Face search settings to use on a streaming video.
sourcepub fn set_face_search(self, input: Option<FaceSearchSettings>) -> Self
pub fn set_face_search(self, input: Option<FaceSearchSettings>) -> Self
Face search settings to use on a streaming video.
sourcepub fn connected_home(self, input: ConnectedHomeSettings) -> Self
pub fn connected_home(self, input: ConnectedHomeSettings) -> Self
Label detection settings to use on a streaming video. Defining the settings is required in the request parameter for CreateStreamProcessor. Including this setting in the CreateStreamProcessor request enables you to use the stream processor for label detection. You can then select what you want the stream processor to detect, such as people or pets. When the stream processor has started, one notification is sent for each object class specified. For example, if packages and pets are selected, one SNS notification is published the first time a package is detected and one SNS notification is published the first time a pet is detected, as well as an end-of-session summary.
sourcepub fn set_connected_home(self, input: Option<ConnectedHomeSettings>) -> Self
pub fn set_connected_home(self, input: Option<ConnectedHomeSettings>) -> Self
Label detection settings to use on a streaming video. Defining the settings is required in the request parameter for CreateStreamProcessor. Including this setting in the CreateStreamProcessor request enables you to use the stream processor for label detection. You can then select what you want the stream processor to detect, such as people or pets. When the stream processor has started, one notification is sent for each object class specified. For example, if packages and pets are selected, one SNS notification is published the first time a package is detected and one SNS notification is published the first time a pet is detected, as well as an end-of-session summary.
sourcepub fn build(self) -> StreamProcessorSettings
pub fn build(self) -> StreamProcessorSettings
Consumes the builder and constructs a StreamProcessorSettings.