#[non_exhaustive]pub struct UpdateInstanceInputBuilder { /* private fields */ }
Expand description
A builder for UpdateInstanceInput
.
Implementations§
source§impl UpdateInstanceInputBuilder
impl UpdateInstanceInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Updates the instance name.
This field is required.sourcepub fn instance_arn(self, input: impl Into<String>) -> Self
pub fn instance_arn(self, input: impl Into<String>) -> Self
The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
This field is required.sourcepub fn set_instance_arn(self, input: Option<String>) -> Self
pub fn set_instance_arn(self, input: Option<String>) -> Self
The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn get_instance_arn(&self) -> &Option<String>
pub fn get_instance_arn(&self) -> &Option<String>
The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn build(self) -> Result<UpdateInstanceInput, BuildError>
pub fn build(self) -> Result<UpdateInstanceInput, BuildError>
Consumes the builder and constructs a UpdateInstanceInput
.
source§impl UpdateInstanceInputBuilder
impl UpdateInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateInstanceOutput, SdkError<UpdateInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateInstanceOutput, SdkError<UpdateInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateInstanceInputBuilder
impl Clone for UpdateInstanceInputBuilder
source§fn clone(&self) -> UpdateInstanceInputBuilder
fn clone(&self) -> UpdateInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateInstanceInputBuilder
impl Debug for UpdateInstanceInputBuilder
source§impl Default for UpdateInstanceInputBuilder
impl Default for UpdateInstanceInputBuilder
source§fn default() -> UpdateInstanceInputBuilder
fn default() -> UpdateInstanceInputBuilder
source§impl PartialEq for UpdateInstanceInputBuilder
impl PartialEq for UpdateInstanceInputBuilder
source§fn eq(&self, other: &UpdateInstanceInputBuilder) -> bool
fn eq(&self, other: &UpdateInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateInstanceInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateInstanceInputBuilder
impl RefUnwindSafe for UpdateInstanceInputBuilder
impl Send for UpdateInstanceInputBuilder
impl Sync for UpdateInstanceInputBuilder
impl Unpin for UpdateInstanceInputBuilder
impl UnwindSafe for UpdateInstanceInputBuilder
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
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>
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>
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 more