#[non_exhaustive]pub struct CreateInputInputBuilder { /* private fields */ }
Expand description
A builder for CreateInputInput
.
Implementations§
source§impl CreateInputInputBuilder
impl CreateInputInputBuilder
sourcepub fn input_name(self, input: impl Into<String>) -> Self
pub fn input_name(self, input: impl Into<String>) -> Self
The name you want to give to the input.
This field is required.sourcepub fn set_input_name(self, input: Option<String>) -> Self
pub fn set_input_name(self, input: Option<String>) -> Self
The name you want to give to the input.
sourcepub fn get_input_name(&self) -> &Option<String>
pub fn get_input_name(&self) -> &Option<String>
The name you want to give to the input.
sourcepub fn input_description(self, input: impl Into<String>) -> Self
pub fn input_description(self, input: impl Into<String>) -> Self
A brief description of the input.
sourcepub fn set_input_description(self, input: Option<String>) -> Self
pub fn set_input_description(self, input: Option<String>) -> Self
A brief description of the input.
sourcepub fn get_input_description(&self) -> &Option<String>
pub fn get_input_description(&self) -> &Option<String>
A brief description of the input.
sourcepub fn input_definition(self, input: InputDefinition) -> Self
pub fn input_definition(self, input: InputDefinition) -> Self
The definition of the input.
This field is required.sourcepub fn set_input_definition(self, input: Option<InputDefinition>) -> Self
pub fn set_input_definition(self, input: Option<InputDefinition>) -> Self
The definition of the input.
sourcepub fn get_input_definition(&self) -> &Option<InputDefinition>
pub fn get_input_definition(&self) -> &Option<InputDefinition>
The definition of the input.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Metadata that can be used to manage the input.
Metadata that can be used to manage the input.
Metadata that can be used to manage the input.
sourcepub fn build(self) -> Result<CreateInputInput, BuildError>
pub fn build(self) -> Result<CreateInputInput, BuildError>
Consumes the builder and constructs a CreateInputInput
.
source§impl CreateInputInputBuilder
impl CreateInputInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateInputOutput, SdkError<CreateInputError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateInputOutput, SdkError<CreateInputError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateInputInputBuilder
impl Clone for CreateInputInputBuilder
source§fn clone(&self) -> CreateInputInputBuilder
fn clone(&self) -> CreateInputInputBuilder
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 CreateInputInputBuilder
impl Debug for CreateInputInputBuilder
source§impl Default for CreateInputInputBuilder
impl Default for CreateInputInputBuilder
source§fn default() -> CreateInputInputBuilder
fn default() -> CreateInputInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateInputInputBuilder
impl PartialEq for CreateInputInputBuilder
source§fn eq(&self, other: &CreateInputInputBuilder) -> bool
fn eq(&self, other: &CreateInputInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateInputInputBuilder
Auto Trait Implementations§
impl Freeze for CreateInputInputBuilder
impl RefUnwindSafe for CreateInputInputBuilder
impl Send for CreateInputInputBuilder
impl Sync for CreateInputInputBuilder
impl Unpin for CreateInputInputBuilder
impl UnwindSafe for CreateInputInputBuilder
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.