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 Details

    • 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 the CognitoMemberDefinition.Builder avoiding the need to create one manually via CognitoMemberDefinition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cognitoMemberDefinition(CognitoMemberDefinition).

      Parameters:
      cognitoMemberDefinition - a consumer that will call methods on CognitoMemberDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 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.
      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 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.

      This is a convenience method that creates an instance of the OidcMemberDefinition.Builder avoiding the need to create one manually via OidcMemberDefinition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to oidcMemberDefinition(OidcMemberDefinition).

      Parameters:
      oidcMemberDefinition - a consumer that will call methods on OidcMemberDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: