Struct aws_sdk_emr::operation::update_studio_session_mapping::builders::UpdateStudioSessionMappingInputBuilder
source · #[non_exhaustive]pub struct UpdateStudioSessionMappingInputBuilder { /* private fields */ }Expand description
A builder for UpdateStudioSessionMappingInput.
Implementations§
source§impl UpdateStudioSessionMappingInputBuilder
impl UpdateStudioSessionMappingInputBuilder
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 update. 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 update. 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 update 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 update 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 to associate with the specified 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 to associate with the specified user or group.
sourcepub fn build(self) -> Result<UpdateStudioSessionMappingInput, BuildError>
pub fn build(self) -> Result<UpdateStudioSessionMappingInput, BuildError>
Consumes the builder and constructs a UpdateStudioSessionMappingInput.
Trait Implementations§
source§impl Clone for UpdateStudioSessionMappingInputBuilder
impl Clone for UpdateStudioSessionMappingInputBuilder
source§fn clone(&self) -> UpdateStudioSessionMappingInputBuilder
fn clone(&self) -> UpdateStudioSessionMappingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateStudioSessionMappingInputBuilder
impl Default for UpdateStudioSessionMappingInputBuilder
source§fn default() -> UpdateStudioSessionMappingInputBuilder
fn default() -> UpdateStudioSessionMappingInputBuilder
source§impl PartialEq<UpdateStudioSessionMappingInputBuilder> for UpdateStudioSessionMappingInputBuilder
impl PartialEq<UpdateStudioSessionMappingInputBuilder> for UpdateStudioSessionMappingInputBuilder
source§fn eq(&self, other: &UpdateStudioSessionMappingInputBuilder) -> bool
fn eq(&self, other: &UpdateStudioSessionMappingInputBuilder) -> bool
self and other values to be equal, and is used
by ==.