Struct aws_sdk_lexmodelsv2::types::builders::InputContextBuilder
source · #[non_exhaustive]pub struct InputContextBuilder { /* private fields */ }
Expand description
A builder for InputContext
.
Implementations§
source§impl InputContextBuilder
impl InputContextBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the context.
This field is required.sourcepub fn build(self) -> Result<InputContext, BuildError>
pub fn build(self) -> Result<InputContext, BuildError>
Consumes the builder and constructs a InputContext
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for InputContextBuilder
impl Clone for InputContextBuilder
source§fn clone(&self) -> InputContextBuilder
fn clone(&self) -> InputContextBuilder
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 Debug for InputContextBuilder
impl Debug for InputContextBuilder
source§impl Default for InputContextBuilder
impl Default for InputContextBuilder
source§fn default() -> InputContextBuilder
fn default() -> InputContextBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InputContextBuilder
impl PartialEq for InputContextBuilder
source§fn eq(&self, other: &InputContextBuilder) -> bool
fn eq(&self, other: &InputContextBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InputContextBuilder
Auto Trait Implementations§
impl Freeze for InputContextBuilder
impl RefUnwindSafe for InputContextBuilder
impl Send for InputContextBuilder
impl Sync for InputContextBuilder
impl Unpin for InputContextBuilder
impl UnwindSafe for InputContextBuilder
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.