Struct aws_sdk_textract::model::expense_currency::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ExpenseCurrency.
Implementations§
source§impl Builder
impl Builder
sourcepub fn code(self, input: impl Into<String>) -> Self
pub fn code(self, input: impl Into<String>) -> Self
Currency code for detected currency. the current supported codes are:
-
USD
-
EUR
-
GBP
-
CAD
-
INR
-
JPY
-
CHF
-
AUD
-
CNY
-
BZR
-
SEK
-
HKD
sourcepub fn set_code(self, input: Option<String>) -> Self
pub fn set_code(self, input: Option<String>) -> Self
Currency code for detected currency. the current supported codes are:
-
USD
-
EUR
-
GBP
-
CAD
-
INR
-
JPY
-
CHF
-
AUD
-
CNY
-
BZR
-
SEK
-
HKD
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
Percentage confideence in the detected currency.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
Percentage confideence in the detected currency.
sourcepub fn build(self) -> ExpenseCurrency
pub fn build(self) -> ExpenseCurrency
Consumes the builder and constructs a ExpenseCurrency.