#[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 Freeze for SlotResolutionImprovementSpecificationBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.