#[non_exhaustive]pub struct CreateCliTokenInputBuilder { /* private fields */ }Expand description
A builder for CreateCliTokenInput.
Implementations§
source§impl CreateCliTokenInputBuilder
impl CreateCliTokenInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.
sourcepub fn build(self) -> Result<CreateCliTokenInput, BuildError>
pub fn build(self) -> Result<CreateCliTokenInput, BuildError>
Consumes the builder and constructs a CreateCliTokenInput.
source§impl CreateCliTokenInputBuilder
impl CreateCliTokenInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateCliTokenOutput, SdkError<CreateCliTokenError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateCliTokenOutput, SdkError<CreateCliTokenError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCliTokenInputBuilder
impl Clone for CreateCliTokenInputBuilder
source§fn clone(&self) -> CreateCliTokenInputBuilder
fn clone(&self) -> CreateCliTokenInputBuilder
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 CreateCliTokenInputBuilder
impl Debug for CreateCliTokenInputBuilder
source§impl Default for CreateCliTokenInputBuilder
impl Default for CreateCliTokenInputBuilder
source§fn default() -> CreateCliTokenInputBuilder
fn default() -> CreateCliTokenInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateCliTokenInputBuilder
impl PartialEq for CreateCliTokenInputBuilder
source§fn eq(&self, other: &CreateCliTokenInputBuilder) -> bool
fn eq(&self, other: &CreateCliTokenInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateCliTokenInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateCliTokenInputBuilder
impl Send for CreateCliTokenInputBuilder
impl Sync for CreateCliTokenInputBuilder
impl Unpin for CreateCliTokenInputBuilder
impl UnwindSafe for CreateCliTokenInputBuilder
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.