#[non_exhaustive]pub struct DetectTextInputBuilder { /* private fields */ }Expand description
A builder for DetectTextInput.
Implementations§
source§impl DetectTextInputBuilder
impl DetectTextInputBuilder
sourcepub fn image(self, input: Image) -> Self
pub fn image(self, input: Image) -> Self
The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.
sourcepub fn set_image(self, input: Option<Image>) -> Self
pub fn set_image(self, input: Option<Image>) -> Self
The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.
sourcepub fn get_image(&self) -> &Option<Image>
pub fn get_image(&self) -> &Option<Image>
The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.
sourcepub fn filters(self, input: DetectTextFilters) -> Self
pub fn filters(self, input: DetectTextFilters) -> Self
Optional parameters that let you set the criteria that the text must meet to be included in your response.
sourcepub fn set_filters(self, input: Option<DetectTextFilters>) -> Self
pub fn set_filters(self, input: Option<DetectTextFilters>) -> Self
Optional parameters that let you set the criteria that the text must meet to be included in your response.
sourcepub fn get_filters(&self) -> &Option<DetectTextFilters>
pub fn get_filters(&self) -> &Option<DetectTextFilters>
Optional parameters that let you set the criteria that the text must meet to be included in your response.
sourcepub fn build(self) -> Result<DetectTextInput, BuildError>
pub fn build(self) -> Result<DetectTextInput, BuildError>
Consumes the builder and constructs a DetectTextInput.
source§impl DetectTextInputBuilder
impl DetectTextInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DetectTextOutput, SdkError<DetectTextError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DetectTextOutput, SdkError<DetectTextError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DetectTextInputBuilder
impl Clone for DetectTextInputBuilder
source§fn clone(&self) -> DetectTextInputBuilder
fn clone(&self) -> DetectTextInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DetectTextInputBuilder
impl Debug for DetectTextInputBuilder
source§impl Default for DetectTextInputBuilder
impl Default for DetectTextInputBuilder
source§fn default() -> DetectTextInputBuilder
fn default() -> DetectTextInputBuilder
source§impl PartialEq for DetectTextInputBuilder
impl PartialEq for DetectTextInputBuilder
source§fn eq(&self, other: &DetectTextInputBuilder) -> bool
fn eq(&self, other: &DetectTextInputBuilder) -> bool
self and other values to be equal, and is used
by ==.