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 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 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 get_identity_name(&self) -> &Option<String>
pub fn get_identity_name(&self) -> &Option<String>
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.
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 update 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 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.
This field is required.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 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 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
.
source§impl UpdateStudioSessionMappingInputBuilder
impl UpdateStudioSessionMappingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateStudioSessionMappingOutput, SdkError<UpdateStudioSessionMappingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateStudioSessionMappingOutput, SdkError<UpdateStudioSessionMappingError, HttpResponse>>
Sends a request with this input using the given client.
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 for UpdateStudioSessionMappingInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for UpdateStudioSessionMappingInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateStudioSessionMappingInputBuilder
impl RefUnwindSafe for UpdateStudioSessionMappingInputBuilder
impl Send for UpdateStudioSessionMappingInputBuilder
impl Sync for UpdateStudioSessionMappingInputBuilder
impl Unpin for UpdateStudioSessionMappingInputBuilder
impl UnwindSafe for UpdateStudioSessionMappingInputBuilder
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> 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