Struct aws_sdk_chime::operation::create_app_instance::builders::CreateAppInstanceInputBuilder
source · #[non_exhaustive]pub struct CreateAppInstanceInputBuilder { /* private fields */ }
Expand description
A builder for CreateAppInstanceInput
.
Implementations§
source§impl CreateAppInstanceInputBuilder
impl CreateAppInstanceInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the AppInstance
.
sourcepub fn metadata(self, input: impl Into<String>) -> Self
pub fn metadata(self, input: impl Into<String>) -> Self
The metadata of the AppInstance
. Limited to a 1KB string in UTF-8.
sourcepub fn set_metadata(self, input: Option<String>) -> Self
pub fn set_metadata(self, input: Option<String>) -> Self
The metadata of the AppInstance
. Limited to a 1KB string in UTF-8.
sourcepub fn get_metadata(&self) -> &Option<String>
pub fn get_metadata(&self) -> &Option<String>
The metadata of the AppInstance
. Limited to a 1KB string in UTF-8.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
The ClientRequestToken
of the AppInstance
.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
The ClientRequestToken
of the AppInstance
.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
The ClientRequestToken
of the AppInstance
.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Tags assigned to the AppInstance
.
Tags assigned to the AppInstance
.
Tags assigned to the AppInstance
.
sourcepub fn build(self) -> Result<CreateAppInstanceInput, BuildError>
pub fn build(self) -> Result<CreateAppInstanceInput, BuildError>
Consumes the builder and constructs a CreateAppInstanceInput
.
source§impl CreateAppInstanceInputBuilder
impl CreateAppInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAppInstanceOutput, SdkError<CreateAppInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAppInstanceOutput, SdkError<CreateAppInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAppInstanceInputBuilder
impl Clone for CreateAppInstanceInputBuilder
source§fn clone(&self) -> CreateAppInstanceInputBuilder
fn clone(&self) -> CreateAppInstanceInputBuilder
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 CreateAppInstanceInputBuilder
impl Default for CreateAppInstanceInputBuilder
source§fn default() -> CreateAppInstanceInputBuilder
fn default() -> CreateAppInstanceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateAppInstanceInputBuilder
impl PartialEq for CreateAppInstanceInputBuilder
source§fn eq(&self, other: &CreateAppInstanceInputBuilder) -> bool
fn eq(&self, other: &CreateAppInstanceInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateAppInstanceInputBuilder
Auto Trait Implementations§
impl Freeze for CreateAppInstanceInputBuilder
impl RefUnwindSafe for CreateAppInstanceInputBuilder
impl Send for CreateAppInstanceInputBuilder
impl Sync for CreateAppInstanceInputBuilder
impl Unpin for CreateAppInstanceInputBuilder
impl UnwindSafe for CreateAppInstanceInputBuilder
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.