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 studio_id(self, input: impl Into<String>) -> Self
pub fn studio_id(self, input: impl Into<String>) -> Self
The ID of the Amazon EMR Studio.
This field is required.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
sourcepub fn set_identity_id(self, input: Option<String>) -> Self
pub fn set_identity_id(self, input: Option<String>) -> Self
sourcepub fn get_identity_id(&self) -> &Option<String>
pub fn get_identity_id(&self) -> &Option<String>
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 get_identity_name(&self) -> &Option<String>
pub fn get_identity_name(&self) -> &Option<String>
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.
This field is required.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 get_identity_type(&self) -> &Option<IdentityType>
pub fn get_identity_type(&self) -> &Option<IdentityType>
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
.
source§impl GetStudioSessionMappingInputBuilder
impl GetStudioSessionMappingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetStudioSessionMappingOutput, SdkError<GetStudioSessionMappingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetStudioSessionMappingOutput, SdkError<GetStudioSessionMappingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetStudioSessionMappingInputBuilder
impl Clone for GetStudioSessionMappingInputBuilder
source§fn clone(&self) -> GetStudioSessionMappingInputBuilder
fn clone(&self) -> GetStudioSessionMappingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetStudioSessionMappingInputBuilder
impl Default for GetStudioSessionMappingInputBuilder
source§fn default() -> GetStudioSessionMappingInputBuilder
fn default() -> GetStudioSessionMappingInputBuilder
source§impl PartialEq for GetStudioSessionMappingInputBuilder
impl PartialEq for GetStudioSessionMappingInputBuilder
source§fn eq(&self, other: &GetStudioSessionMappingInputBuilder) -> bool
fn eq(&self, other: &GetStudioSessionMappingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.