Struct aws_sdk_workspacesweb::operation::associate_user_settings::builders::AssociateUserSettingsInputBuilder
source · #[non_exhaustive]pub struct AssociateUserSettingsInputBuilder { /* private fields */ }
Expand description
A builder for AssociateUserSettingsInput
.
Implementations§
source§impl AssociateUserSettingsInputBuilder
impl AssociateUserSettingsInputBuilder
sourcepub fn portal_arn(self, input: impl Into<String>) -> Self
pub fn portal_arn(self, input: impl Into<String>) -> Self
The ARN of the web portal.
This field is required.sourcepub fn set_portal_arn(self, input: Option<String>) -> Self
pub fn set_portal_arn(self, input: Option<String>) -> Self
The ARN of the web portal.
sourcepub fn get_portal_arn(&self) -> &Option<String>
pub fn get_portal_arn(&self) -> &Option<String>
The ARN of the web portal.
sourcepub fn user_settings_arn(self, input: impl Into<String>) -> Self
pub fn user_settings_arn(self, input: impl Into<String>) -> Self
The ARN of the user settings.
This field is required.sourcepub fn set_user_settings_arn(self, input: Option<String>) -> Self
pub fn set_user_settings_arn(self, input: Option<String>) -> Self
The ARN of the user settings.
sourcepub fn get_user_settings_arn(&self) -> &Option<String>
pub fn get_user_settings_arn(&self) -> &Option<String>
The ARN of the user settings.
sourcepub fn build(self) -> Result<AssociateUserSettingsInput, BuildError>
pub fn build(self) -> Result<AssociateUserSettingsInput, BuildError>
Consumes the builder and constructs a AssociateUserSettingsInput
.
source§impl AssociateUserSettingsInputBuilder
impl AssociateUserSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AssociateUserSettingsOutput, SdkError<AssociateUserSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AssociateUserSettingsOutput, SdkError<AssociateUserSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateUserSettingsInputBuilder
impl Clone for AssociateUserSettingsInputBuilder
source§fn clone(&self) -> AssociateUserSettingsInputBuilder
fn clone(&self) -> AssociateUserSettingsInputBuilder
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 AssociateUserSettingsInputBuilder
impl Default for AssociateUserSettingsInputBuilder
source§fn default() -> AssociateUserSettingsInputBuilder
fn default() -> AssociateUserSettingsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateUserSettingsInputBuilder
impl PartialEq for AssociateUserSettingsInputBuilder
source§fn eq(&self, other: &AssociateUserSettingsInputBuilder) -> bool
fn eq(&self, other: &AssociateUserSettingsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateUserSettingsInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateUserSettingsInputBuilder
impl RefUnwindSafe for AssociateUserSettingsInputBuilder
impl Send for AssociateUserSettingsInputBuilder
impl Sync for AssociateUserSettingsInputBuilder
impl Unpin for AssociateUserSettingsInputBuilder
impl UnwindSafe for AssociateUserSettingsInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.