#[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
impl StructuralPartialEq for DetectTextInputBuilder
Auto Trait Implementations§
impl Freeze for DetectTextInputBuilder
impl RefUnwindSafe for DetectTextInputBuilder
impl Send for DetectTextInputBuilder
impl Sync for DetectTextInputBuilder
impl Unpin for DetectTextInputBuilder
impl UnwindSafe for DetectTextInputBuilder
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