Struct aws_sdk_emr::operation::get_studio_session_mapping::builders::GetStudioSessionMappingInputBuilder
source · #[non_exhaustive]pub struct GetStudioSessionMappingInputBuilder { /* private fields */ }Expand description
A builder for GetStudioSessionMappingInput.
Implementations§
source§impl GetStudioSessionMappingInputBuilder
impl GetStudioSessionMappingInputBuilder
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 identity_id(self, input: impl Into<String>) -> Self
pub fn identity_id(self, input: impl Into<String>) -> Self
sourcepub fn set_identity_id(self, input: Option<String>) -> Self
pub fn set_identity_id(self, input: Option<String>) -> Self
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 to fetch. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified.
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 to fetch. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified.
sourcepub fn identity_type(self, input: IdentityType) -> Self
pub fn identity_type(self, input: IdentityType) -> Self
Specifies whether the identity to fetch 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 to fetch is a user or a group.
sourcepub fn build(self) -> Result<GetStudioSessionMappingInput, BuildError>
pub fn build(self) -> Result<GetStudioSessionMappingInput, BuildError>
Consumes the builder and constructs a GetStudioSessionMappingInput.
Trait Implementations§
source§impl Clone for GetStudioSessionMappingInputBuilder
impl Clone for GetStudioSessionMappingInputBuilder
source§fn clone(&self) -> GetStudioSessionMappingInputBuilder
fn clone(&self) -> GetStudioSessionMappingInputBuilder
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 Default for GetStudioSessionMappingInputBuilder
impl Default for GetStudioSessionMappingInputBuilder
source§fn default() -> GetStudioSessionMappingInputBuilder
fn default() -> GetStudioSessionMappingInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetStudioSessionMappingInputBuilder> for GetStudioSessionMappingInputBuilder
impl PartialEq<GetStudioSessionMappingInputBuilder> for GetStudioSessionMappingInputBuilder
source§fn eq(&self, other: &GetStudioSessionMappingInputBuilder) -> bool
fn eq(&self, other: &GetStudioSessionMappingInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.