Struct aws_sdk_lexmodelsv2::model::sub_slot_setting::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for SubSlotSetting.
Implementations§
source§impl Builder
impl Builder
sourcepub fn expression(self, input: impl Into<String>) -> Self
pub fn expression(self, input: impl Into<String>) -> Self
The expression text for defining the constituent sub slots in the composite slot using logical AND and OR operators.
sourcepub fn set_expression(self, input: Option<String>) -> Self
pub fn set_expression(self, input: Option<String>) -> Self
The expression text for defining the constituent sub slots in the composite slot using logical AND and OR operators.
sourcepub fn slot_specifications(self, k: impl Into<String>, v: Specifications) -> Self
pub fn slot_specifications(self, k: impl Into<String>, v: Specifications) -> Self
Adds a key-value pair to slot_specifications.
To override the contents of this collection use set_slot_specifications.
Specifications for the constituent sub slots of a composite slot.
sourcepub fn set_slot_specifications(
self,
input: Option<HashMap<String, Specifications>>
) -> Self
pub fn set_slot_specifications(
self,
input: Option<HashMap<String, Specifications>>
) -> Self
Specifications for the constituent sub slots of a composite slot.
sourcepub fn build(self) -> SubSlotSetting
pub fn build(self) -> SubSlotSetting
Consumes the builder and constructs a SubSlotSetting.