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
impl StructuralPartialEq for UserContextBuilder
Auto Trait Implementations§
impl Freeze for UserContextBuilder
impl RefUnwindSafe for UserContextBuilder
impl Send for UserContextBuilder
impl Sync for UserContextBuilder
impl Unpin for UserContextBuilder
impl UnwindSafe for UserContextBuilder
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