Interface ListMemberAccountsResponse.Builder

    • Method Detail

      • memberAccounts

        ListMemberAccountsResponse.Builder memberAccounts​(Collection<MemberAccount> memberAccounts)

        (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.

        Parameters:
        memberAccounts - (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • memberAccounts

        ListMemberAccountsResponse.Builder memberAccounts​(MemberAccount... memberAccounts)

        (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.

        Parameters:
        memberAccounts - (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • memberAccounts

        ListMemberAccountsResponse.Builder memberAccounts​(Consumer<MemberAccount.Builder>... memberAccounts)

        (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #memberAccounts(List).

        Parameters:
        memberAccounts - a consumer that will call methods on MemberAccount.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #memberAccounts(java.util.Collection)
      • nextToken

        ListMemberAccountsResponse.Builder nextToken​(String nextToken)

        (Discontinued) When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

        Parameters:
        nextToken - (Discontinued) When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
        Returns:
        Returns a reference to this object so that method calls can be chained together.