Interface MemberDefinition.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<MemberDefinition.Builder,MemberDefinition>
,SdkBuilder<MemberDefinition.Builder,MemberDefinition>
,SdkPojo
- Enclosing class:
- MemberDefinition
public static interface MemberDefinition.Builder extends SdkPojo, CopyableBuilder<MemberDefinition.Builder,MemberDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MemberDefinition.Builder
cognitoMemberDefinition(Consumer<CognitoMemberDefinition.Builder> cognitoMemberDefinition)
The Amazon Cognito user group that is part of the work team.MemberDefinition.Builder
cognitoMemberDefinition(CognitoMemberDefinition cognitoMemberDefinition)
The Amazon Cognito user group that is part of the work team.default MemberDefinition.Builder
oidcMemberDefinition(Consumer<OidcMemberDefinition.Builder> oidcMemberDefinition)
A list user groups that exist in your OIDC Identity Provider (IdP).MemberDefinition.Builder
oidcMemberDefinition(OidcMemberDefinition oidcMemberDefinition)
A list user groups that exist in your OIDC Identity Provider (IdP).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
cognitoMemberDefinition
MemberDefinition.Builder cognitoMemberDefinition(CognitoMemberDefinition cognitoMemberDefinition)
The Amazon Cognito user group that is part of the work team.
- Parameters:
cognitoMemberDefinition
- The Amazon Cognito user group that is part of the work team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoMemberDefinition
default MemberDefinition.Builder cognitoMemberDefinition(Consumer<CognitoMemberDefinition.Builder> cognitoMemberDefinition)
The Amazon Cognito user group that is part of the work team.
This is a convenience method that creates an instance of theCognitoMemberDefinition.Builder
avoiding the need to create one manually viaCognitoMemberDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocognitoMemberDefinition(CognitoMemberDefinition)
.- Parameters:
cognitoMemberDefinition
- a consumer that will call methods onCognitoMemberDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cognitoMemberDefinition(CognitoMemberDefinition)
-
oidcMemberDefinition
MemberDefinition.Builder oidcMemberDefinition(OidcMemberDefinition 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.- Parameters:
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 ofGroups
, 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oidcMemberDefinition
default MemberDefinition.Builder oidcMemberDefinition(Consumer<OidcMemberDefinition.Builder> 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
This is a convenience method that creates an instance of theGroups
, 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.OidcMemberDefinition.Builder
avoiding the need to create one manually viaOidcMemberDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooidcMemberDefinition(OidcMemberDefinition)
.- Parameters:
oidcMemberDefinition
- a consumer that will call methods onOidcMemberDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
oidcMemberDefinition(OidcMemberDefinition)
-
-