Struct aws_sdk_sagemaker::types::builders::UserContextBuilder
source · #[non_exhaustive]pub struct UserContextBuilder { /* private fields */ }
Expand description
A builder for UserContext
.
Implementations§
source§impl UserContextBuilder
impl UserContextBuilder
sourcepub fn user_profile_arn(self, input: impl Into<String>) -> Self
pub fn user_profile_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user's profile.
sourcepub fn set_user_profile_arn(self, input: Option<String>) -> Self
pub fn set_user_profile_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user's profile.
sourcepub fn user_profile_name(self, input: impl Into<String>) -> Self
pub fn user_profile_name(self, input: impl Into<String>) -> Self
The name of the user's profile.
sourcepub fn set_user_profile_name(self, input: Option<String>) -> Self
pub fn set_user_profile_name(self, input: Option<String>) -> Self
The name of the user's profile.
sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The domain associated with the user.
sourcepub fn iam_identity(self, input: IamIdentity) -> Self
pub fn iam_identity(self, input: IamIdentity) -> Self
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
sourcepub fn set_iam_identity(self, input: Option<IamIdentity>) -> Self
pub fn set_iam_identity(self, input: Option<IamIdentity>) -> Self
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
sourcepub fn build(self) -> UserContext
pub fn build(self) -> UserContext
Consumes the builder and constructs a UserContext
.
Trait Implementations§
source§impl Clone for UserContextBuilder
impl Clone for UserContextBuilder
source§fn clone(&self) -> UserContextBuilder
fn clone(&self) -> UserContextBuilder
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 Debug for UserContextBuilder
impl Debug for UserContextBuilder
source§impl Default for UserContextBuilder
impl Default for UserContextBuilder
source§fn default() -> UserContextBuilder
fn default() -> UserContextBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UserContextBuilder> for UserContextBuilder
impl PartialEq<UserContextBuilder> for UserContextBuilder
source§fn eq(&self, other: &UserContextBuilder) -> bool
fn eq(&self, other: &UserContextBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.