Interface ListMembersResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListMembersResponse.Builder,ListMembersResponse>, DetectiveResponse.Builder, SdkBuilder<ListMembersResponse.Builder,ListMembersResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListMembersResponse

public static interface ListMembersResponse.Builder extends DetectiveResponse.Builder, SdkPojo, CopyableBuilder<ListMembersResponse.Builder,ListMembersResponse>
  • Method Details

    • memberDetails

      ListMembersResponse.Builder memberDetails(Collection<MemberDetail> memberDetails)

      The list of member accounts in the behavior graph.

      For invited accounts, the results include member accounts that did not pass verification and member accounts that have not yet accepted the invitation to the behavior graph. The results do not include member accounts that were removed from the behavior graph.

      For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

      Parameters:
      memberDetails - The list of member accounts in the behavior graph.

      For invited accounts, the results include member accounts that did not pass verification and member accounts that have not yet accepted the invitation to the behavior graph. The results do not include member accounts that were removed from the behavior graph.

      For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberDetails

      ListMembersResponse.Builder memberDetails(MemberDetail... memberDetails)

      The list of member accounts in the behavior graph.

      For invited accounts, the results include member accounts that did not pass verification and member accounts that have not yet accepted the invitation to the behavior graph. The results do not include member accounts that were removed from the behavior graph.

      For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

      Parameters:
      memberDetails - The list of member accounts in the behavior graph.

      For invited accounts, the results include member accounts that did not pass verification and member accounts that have not yet accepted the invitation to the behavior graph. The results do not include member accounts that were removed from the behavior graph.

      For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberDetails

      ListMembersResponse.Builder memberDetails(Consumer<MemberDetail.Builder>... memberDetails)

      The list of member accounts in the behavior graph.

      For invited accounts, the results include member accounts that did not pass verification and member accounts that have not yet accepted the invitation to the behavior graph. The results do not include member accounts that were removed from the behavior graph.

      For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.

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

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

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

      ListMembersResponse.Builder nextToken(String nextToken)

      If there are more member accounts remaining in the results, then use this pagination token to request the next page of member accounts.

      Parameters:
      nextToken - If there are more member accounts remaining in the results, then use this pagination token to request the next page of member accounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.