Struct aws_sdk_frauddetector::types::builders::VariableEntryBuilder
source · #[non_exhaustive]pub struct VariableEntryBuilder { /* private fields */ }
Expand description
A builder for VariableEntry
.
Implementations§
source§impl VariableEntryBuilder
impl VariableEntryBuilder
sourcepub fn set_data_type(self, input: Option<String>) -> Self
pub fn set_data_type(self, input: Option<String>) -> Self
The data type of the variable.
sourcepub fn get_data_type(&self) -> &Option<String>
pub fn get_data_type(&self) -> &Option<String>
The data type of the variable.
sourcepub fn data_source(self, input: impl Into<String>) -> Self
pub fn data_source(self, input: impl Into<String>) -> Self
The data source of the variable.
sourcepub fn set_data_source(self, input: Option<String>) -> Self
pub fn set_data_source(self, input: Option<String>) -> Self
The data source of the variable.
sourcepub fn get_data_source(&self) -> &Option<String>
pub fn get_data_source(&self) -> &Option<String>
The data source of the variable.
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
The default value of the variable.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
The default value of the variable.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
The default value of the variable.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the variable.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the variable.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the variable.
sourcepub fn variable_type(self, input: impl Into<String>) -> Self
pub fn variable_type(self, input: impl Into<String>) -> Self
The type of the variable. For more information see Variable types.
Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
sourcepub fn set_variable_type(self, input: Option<String>) -> Self
pub fn set_variable_type(self, input: Option<String>) -> Self
The type of the variable. For more information see Variable types.
Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
sourcepub fn get_variable_type(&self) -> &Option<String>
pub fn get_variable_type(&self) -> &Option<String>
The type of the variable. For more information see Variable types.
Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
sourcepub fn build(self) -> VariableEntry
pub fn build(self) -> VariableEntry
Consumes the builder and constructs a VariableEntry
.
Trait Implementations§
source§impl Clone for VariableEntryBuilder
impl Clone for VariableEntryBuilder
source§fn clone(&self) -> VariableEntryBuilder
fn clone(&self) -> VariableEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VariableEntryBuilder
impl Debug for VariableEntryBuilder
source§impl Default for VariableEntryBuilder
impl Default for VariableEntryBuilder
source§fn default() -> VariableEntryBuilder
fn default() -> VariableEntryBuilder
source§impl PartialEq for VariableEntryBuilder
impl PartialEq for VariableEntryBuilder
source§fn eq(&self, other: &VariableEntryBuilder) -> bool
fn eq(&self, other: &VariableEntryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.