Interface GroupMembers.Builder

  • Method Details

    • memberGroups

      GroupMembers.Builder memberGroups(Collection<MemberGroup> memberGroups)

      A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".

      Parameters:
      memberGroups - A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberGroups

      GroupMembers.Builder memberGroups(MemberGroup... memberGroups)

      A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".

      Parameters:
      memberGroups - A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberGroups

      GroupMembers.Builder memberGroups(Consumer<MemberGroup.Builder>... memberGroups)

      A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to memberGroups(List<MemberGroup>).

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

      GroupMembers.Builder memberUsers(Collection<MemberUser> memberUsers)

      A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.

      Parameters:
      memberUsers - A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberUsers

      GroupMembers.Builder memberUsers(MemberUser... memberUsers)

      A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.

      Parameters:
      memberUsers - A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberUsers

      GroupMembers.Builder memberUsers(Consumer<MemberUser.Builder>... memberUsers)

      A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to memberUsers(List<MemberUser>).

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

      GroupMembers.Builder s3PathForGroupMembers(S3 s3PathForGroupMembers)
      Sets the value of the S3PathForGroupMembers property for this object.
      Parameters:
      s3PathForGroupMembers - The new value for the S3PathForGroupMembers property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3PathForGroupMembers

      default GroupMembers.Builder s3PathForGroupMembers(Consumer<S3.Builder> s3PathForGroupMembers)
      Sets the value of the S3PathForGroupMembers property for this object. This is a convenience method that creates an instance of the S3.Builder avoiding the need to create one manually via S3.builder().

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

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