Interface GetMembersResponse.Builder

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

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

    • memberDetails

      GetMembersResponse.Builder memberDetails(Collection<MemberDetail> memberDetails)

      The member account details that Detective is returning in response to the request.

      Parameters:
      memberDetails - The member account details that Detective is returning in response to the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberDetails

      GetMembersResponse.Builder memberDetails(MemberDetail... memberDetails)

      The member account details that Detective is returning in response to the request.

      Parameters:
      memberDetails - The member account details that Detective is returning in response to the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberDetails

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

      The member account details that Detective is returning in response to the request.

      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:
    • unprocessedAccounts

      GetMembersResponse.Builder unprocessedAccounts(Collection<UnprocessedAccount> unprocessedAccounts)

      The requested member accounts for which Detective was unable to return member details.

      For each account, provides the reason why the request could not be processed.

      Parameters:
      unprocessedAccounts - The requested member accounts for which Detective was unable to return member details.

      For each account, provides the reason why the request could not be processed.

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

      GetMembersResponse.Builder unprocessedAccounts(UnprocessedAccount... unprocessedAccounts)

      The requested member accounts for which Detective was unable to return member details.

      For each account, provides the reason why the request could not be processed.

      Parameters:
      unprocessedAccounts - The requested member accounts for which Detective was unable to return member details.

      For each account, provides the reason why the request could not be processed.

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

      GetMembersResponse.Builder unprocessedAccounts(Consumer<UnprocessedAccount.Builder>... unprocessedAccounts)

      The requested member accounts for which Detective was unable to return member details.

      For each account, provides the reason why the request could not be processed.

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

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

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