Struct aws_sdk_emr::types::builders::SessionMappingDetailBuilder
source · #[non_exhaustive]pub struct SessionMappingDetailBuilder { /* private fields */ }Expand description
A builder for SessionMappingDetail.
Implementations§
source§impl SessionMappingDetailBuilder
impl SessionMappingDetailBuilder
sourcepub fn set_studio_id(self, input: Option<String>) -> Self
pub fn set_studio_id(self, input: Option<String>) -> Self
The ID of the Amazon EMR Studio.
sourcepub fn get_studio_id(&self) -> &Option<String>
pub fn get_studio_id(&self) -> &Option<String>
The ID of the Amazon EMR Studio.
sourcepub fn identity_id(self, input: impl Into<String>) -> Self
pub fn identity_id(self, input: impl Into<String>) -> Self
The globally unique identifier (GUID) of the user or group.
sourcepub fn set_identity_id(self, input: Option<String>) -> Self
pub fn set_identity_id(self, input: Option<String>) -> Self
The globally unique identifier (GUID) of the user or group.
sourcepub fn get_identity_id(&self) -> &Option<String>
pub fn get_identity_id(&self) -> &Option<String>
The globally unique identifier (GUID) of the user or group.
sourcepub fn identity_name(self, input: impl Into<String>) -> Self
pub fn identity_name(self, input: impl Into<String>) -> Self
The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference.
sourcepub fn set_identity_name(self, input: Option<String>) -> Self
pub fn set_identity_name(self, input: Option<String>) -> Self
The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference.
sourcepub fn get_identity_name(&self) -> &Option<String>
pub fn get_identity_name(&self) -> &Option<String>
The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference.
sourcepub fn identity_type(self, input: IdentityType) -> Self
pub fn identity_type(self, input: IdentityType) -> Self
Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
sourcepub fn set_identity_type(self, input: Option<IdentityType>) -> Self
pub fn set_identity_type(self, input: Option<IdentityType>) -> Self
Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
sourcepub fn get_identity_type(&self) -> &Option<IdentityType>
pub fn get_identity_type(&self) -> &Option<IdentityType>
Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
sourcepub fn session_policy_arn(self, input: impl Into<String>) -> Self
pub fn session_policy_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the session policy associated with the user or group.
sourcepub fn set_session_policy_arn(self, input: Option<String>) -> Self
pub fn set_session_policy_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the session policy associated with the user or group.
sourcepub fn get_session_policy_arn(&self) -> &Option<String>
pub fn get_session_policy_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the session policy associated with the user or group.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the session mapping was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time the session mapping was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time the session mapping was created.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The time the session mapping was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The time the session mapping was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The time the session mapping was last modified.
sourcepub fn build(self) -> SessionMappingDetail
pub fn build(self) -> SessionMappingDetail
Consumes the builder and constructs a SessionMappingDetail.
Trait Implementations§
source§impl Clone for SessionMappingDetailBuilder
impl Clone for SessionMappingDetailBuilder
source§fn clone(&self) -> SessionMappingDetailBuilder
fn clone(&self) -> SessionMappingDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SessionMappingDetailBuilder
impl Debug for SessionMappingDetailBuilder
source§impl Default for SessionMappingDetailBuilder
impl Default for SessionMappingDetailBuilder
source§fn default() -> SessionMappingDetailBuilder
fn default() -> SessionMappingDetailBuilder
source§impl PartialEq for SessionMappingDetailBuilder
impl PartialEq for SessionMappingDetailBuilder
source§fn eq(&self, other: &SessionMappingDetailBuilder) -> bool
fn eq(&self, other: &SessionMappingDetailBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SessionMappingDetailBuilder
Auto Trait Implementations§
impl Freeze for SessionMappingDetailBuilder
impl RefUnwindSafe for SessionMappingDetailBuilder
impl Send for SessionMappingDetailBuilder
impl Sync for SessionMappingDetailBuilder
impl Unpin for SessionMappingDetailBuilder
impl UnwindSafe for SessionMappingDetailBuilder
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