Struct aws_sdk_lexmodelsv2::model::slot_default_value::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for SlotDefaultValue.
Implementations§
source§impl Builder
impl Builder
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
The default value to use when a user doesn't provide a value for a slot.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
The default value to use when a user doesn't provide a value for a slot.
sourcepub fn build(self) -> SlotDefaultValue
pub fn build(self) -> SlotDefaultValue
Consumes the builder and constructs a SlotDefaultValue.