#[non_exhaustive]pub struct SlotResolutionImprovementSpecificationBuilder { /* private fields */ }
Expand description
A builder for SlotResolutionImprovementSpecification
.
Implementations§
source§impl SlotResolutionImprovementSpecificationBuilder
impl SlotResolutionImprovementSpecificationBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Specifies whether assisted slot resolution is turned on or off.
This field is required.sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Specifies whether assisted slot resolution is turned on or off.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Specifies whether assisted slot resolution is turned on or off.
sourcepub fn bedrock_model_specification(
self,
input: BedrockModelSpecification
) -> Self
pub fn bedrock_model_specification( self, input: BedrockModelSpecification ) -> Self
An object containing information about the Amazon Bedrock model used to assist slot resolution.
sourcepub fn set_bedrock_model_specification(
self,
input: Option<BedrockModelSpecification>
) -> Self
pub fn set_bedrock_model_specification( self, input: Option<BedrockModelSpecification> ) -> Self
An object containing information about the Amazon Bedrock model used to assist slot resolution.
sourcepub fn get_bedrock_model_specification(
&self
) -> &Option<BedrockModelSpecification>
pub fn get_bedrock_model_specification( &self ) -> &Option<BedrockModelSpecification>
An object containing information about the Amazon Bedrock model used to assist slot resolution.
sourcepub fn build(self) -> SlotResolutionImprovementSpecification
pub fn build(self) -> SlotResolutionImprovementSpecification
Consumes the builder and constructs a SlotResolutionImprovementSpecification
.
Trait Implementations§
source§impl Clone for SlotResolutionImprovementSpecificationBuilder
impl Clone for SlotResolutionImprovementSpecificationBuilder
source§fn clone(&self) -> SlotResolutionImprovementSpecificationBuilder
fn clone(&self) -> SlotResolutionImprovementSpecificationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for SlotResolutionImprovementSpecificationBuilder
impl Default for SlotResolutionImprovementSpecificationBuilder
source§fn default() -> SlotResolutionImprovementSpecificationBuilder
fn default() -> SlotResolutionImprovementSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SlotResolutionImprovementSpecificationBuilder
impl PartialEq for SlotResolutionImprovementSpecificationBuilder
source§fn eq(&self, other: &SlotResolutionImprovementSpecificationBuilder) -> bool
fn eq(&self, other: &SlotResolutionImprovementSpecificationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlotResolutionImprovementSpecificationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SlotResolutionImprovementSpecificationBuilder
impl Send for SlotResolutionImprovementSpecificationBuilder
impl Sync for SlotResolutionImprovementSpecificationBuilder
impl Unpin for SlotResolutionImprovementSpecificationBuilder
impl UnwindSafe for SlotResolutionImprovementSpecificationBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.