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 get_user_profile_arn(&self) -> &Option<String>
pub fn get_user_profile_arn(&self) -> &Option<String>
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 get_user_profile_name(&self) -> &Option<String>
pub fn get_user_profile_name(&self) -> &Option<String>
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 get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
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 get_iam_identity(&self) -> &Option<IamIdentity>
pub fn get_iam_identity(&self) -> &Option<IamIdentity>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for UserContextBuilder
impl PartialEq for UserContextBuilder
source§fn eq(&self, other: &UserContextBuilder) -> bool
fn eq(&self, other: &UserContextBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.