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 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 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.
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 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 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.
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.
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 build(self) -> Result<CreateUserProfileInput, BuildError>
pub fn build(self) -> Result<CreateUserProfileInput, BuildError>
Consumes the builder and constructs a CreateUserProfileInput
.
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<CreateUserProfileInputBuilder> for CreateUserProfileInputBuilder
impl PartialEq<CreateUserProfileInputBuilder> 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 ==
.