Struct aws_sdk_sagemaker::types::builders::MemberDefinitionBuilder
source · #[non_exhaustive]pub struct MemberDefinitionBuilder { /* private fields */ }
Expand description
A builder for MemberDefinition
.
Implementations§
source§impl MemberDefinitionBuilder
impl MemberDefinitionBuilder
sourcepub fn cognito_member_definition(self, input: CognitoMemberDefinition) -> Self
pub fn cognito_member_definition(self, input: CognitoMemberDefinition) -> Self
The Amazon Cognito user group that is part of the work team.
sourcepub fn set_cognito_member_definition(
self,
input: Option<CognitoMemberDefinition>,
) -> Self
pub fn set_cognito_member_definition( self, input: Option<CognitoMemberDefinition>, ) -> Self
The Amazon Cognito user group that is part of the work team.
sourcepub fn get_cognito_member_definition(&self) -> &Option<CognitoMemberDefinition>
pub fn get_cognito_member_definition(&self) -> &Option<CognitoMemberDefinition>
The Amazon Cognito user group that is part of the work team.
sourcepub fn oidc_member_definition(self, input: OidcMemberDefinition) -> Self
pub fn oidc_member_definition(self, input: OidcMemberDefinition) -> Self
A list user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a single private work team. When you add a user group to the list of Groups
, you can add that user group to one or more private work teams. If you add a user group to a private work team, all workers in that user group are added to the work team.
sourcepub fn set_oidc_member_definition(
self,
input: Option<OidcMemberDefinition>,
) -> Self
pub fn set_oidc_member_definition( self, input: Option<OidcMemberDefinition>, ) -> Self
A list user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a single private work team. When you add a user group to the list of Groups
, you can add that user group to one or more private work teams. If you add a user group to a private work team, all workers in that user group are added to the work team.
sourcepub fn get_oidc_member_definition(&self) -> &Option<OidcMemberDefinition>
pub fn get_oidc_member_definition(&self) -> &Option<OidcMemberDefinition>
A list user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a single private work team. When you add a user group to the list of Groups
, you can add that user group to one or more private work teams. If you add a user group to a private work team, all workers in that user group are added to the work team.
sourcepub fn build(self) -> MemberDefinition
pub fn build(self) -> MemberDefinition
Consumes the builder and constructs a MemberDefinition
.
Trait Implementations§
source§impl Clone for MemberDefinitionBuilder
impl Clone for MemberDefinitionBuilder
source§fn clone(&self) -> MemberDefinitionBuilder
fn clone(&self) -> MemberDefinitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MemberDefinitionBuilder
impl Debug for MemberDefinitionBuilder
source§impl Default for MemberDefinitionBuilder
impl Default for MemberDefinitionBuilder
source§fn default() -> MemberDefinitionBuilder
fn default() -> MemberDefinitionBuilder
source§impl PartialEq for MemberDefinitionBuilder
impl PartialEq for MemberDefinitionBuilder
source§fn eq(&self, other: &MemberDefinitionBuilder) -> bool
fn eq(&self, other: &MemberDefinitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MemberDefinitionBuilder
Auto Trait Implementations§
impl Freeze for MemberDefinitionBuilder
impl RefUnwindSafe for MemberDefinitionBuilder
impl Send for MemberDefinitionBuilder
impl Sync for MemberDefinitionBuilder
impl Unpin for MemberDefinitionBuilder
impl UnwindSafe for MemberDefinitionBuilder
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