Struct aws_sdk_sagemaker::operation::create_user_profile::builders::CreateUserProfileInputBuilder
source · #[non_exhaustive]pub struct CreateUserProfileInputBuilder { /* private fields */ }
Expand description
A builder for CreateUserProfileInput
.
Implementations§
source§impl CreateUserProfileInputBuilder
impl CreateUserProfileInputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The ID of the associated Domain.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The ID of the associated Domain.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the associated Domain.
sourcepub fn user_profile_name(self, input: impl Into<String>) -> Self
pub fn user_profile_name(self, input: impl Into<String>) -> Self
A name for the UserProfile. This value is not case sensitive.
This field is required.sourcepub fn set_user_profile_name(self, input: Option<String>) -> Self
pub fn set_user_profile_name(self, input: Option<String>) -> Self
A name for the UserProfile. This value is not case sensitive.
sourcepub fn get_user_profile_name(&self) -> &Option<String>
pub fn get_user_profile_name(&self) -> &Option<String>
A name for the UserProfile. This value is not case sensitive.
sourcepub fn single_sign_on_user_identifier(self, input: impl Into<String>) -> Self
pub fn single_sign_on_user_identifier(self, input: impl Into<String>) -> Self
A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName". If the Domain's AuthMode is IAM Identity Center, this field is required. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.
sourcepub fn set_single_sign_on_user_identifier(self, input: Option<String>) -> Self
pub fn set_single_sign_on_user_identifier(self, input: Option<String>) -> Self
A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName". If the Domain's AuthMode is IAM Identity Center, this field is required. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.
sourcepub fn get_single_sign_on_user_identifier(&self) -> &Option<String>
pub fn get_single_sign_on_user_identifier(&self) -> &Option<String>
A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName". If the Domain's AuthMode is IAM Identity Center, this field is required. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.
sourcepub fn single_sign_on_user_value(self, input: impl Into<String>) -> Self
pub fn single_sign_on_user_value(self, input: impl Into<String>) -> Self
The username of the associated Amazon Web Services Single Sign-On User for this UserProfile. If the Domain's AuthMode is IAM Identity Center, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.
sourcepub fn set_single_sign_on_user_value(self, input: Option<String>) -> Self
pub fn set_single_sign_on_user_value(self, input: Option<String>) -> Self
The username of the associated Amazon Web Services Single Sign-On User for this UserProfile. If the Domain's AuthMode is IAM Identity Center, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.
sourcepub fn get_single_sign_on_user_value(&self) -> &Option<String>
pub fn get_single_sign_on_user_value(&self) -> &Option<String>
The username of the associated Amazon Web Services Single Sign-On User for this UserProfile. If the Domain's AuthMode is IAM Identity Center, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
Tags that you specify for the User Profile are also added to all Apps that the User Profile launches.
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
Tags that you specify for the User Profile are also added to all Apps that the User Profile launches.
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
Tags that you specify for the User Profile are also added to all Apps that the User Profile launches.
sourcepub fn user_settings(self, input: UserSettings) -> Self
pub fn user_settings(self, input: UserSettings) -> Self
A collection of settings.
sourcepub fn set_user_settings(self, input: Option<UserSettings>) -> Self
pub fn set_user_settings(self, input: Option<UserSettings>) -> Self
A collection of settings.
sourcepub fn get_user_settings(&self) -> &Option<UserSettings>
pub fn get_user_settings(&self) -> &Option<UserSettings>
A collection of settings.
sourcepub fn build(self) -> Result<CreateUserProfileInput, BuildError>
pub fn build(self) -> Result<CreateUserProfileInput, BuildError>
Consumes the builder and constructs a CreateUserProfileInput
.
source§impl CreateUserProfileInputBuilder
impl CreateUserProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateUserProfileOutput, SdkError<CreateUserProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateUserProfileOutput, SdkError<CreateUserProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUserProfileInputBuilder
impl Clone for CreateUserProfileInputBuilder
source§fn clone(&self) -> CreateUserProfileInputBuilder
fn clone(&self) -> CreateUserProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateUserProfileInputBuilder
impl Default for CreateUserProfileInputBuilder
source§fn default() -> CreateUserProfileInputBuilder
fn default() -> CreateUserProfileInputBuilder
source§impl PartialEq for CreateUserProfileInputBuilder
impl PartialEq for CreateUserProfileInputBuilder
source§fn eq(&self, other: &CreateUserProfileInputBuilder) -> bool
fn eq(&self, other: &CreateUserProfileInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateUserProfileInputBuilder
Auto Trait Implementations§
impl Freeze for CreateUserProfileInputBuilder
impl RefUnwindSafe for CreateUserProfileInputBuilder
impl Send for CreateUserProfileInputBuilder
impl Sync for CreateUserProfileInputBuilder
impl Unpin for CreateUserProfileInputBuilder
impl UnwindSafe for CreateUserProfileInputBuilder
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> 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)
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>
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