Interface ListMemberAccountsResponse.Builder

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

public static interface ListMemberAccountsResponse.Builder extends MacieResponse.Builder, SdkPojo, CopyableBuilder<ListMemberAccountsResponse.Builder,ListMemberAccountsResponse>
  • Method Details

    • 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

      (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<MemberAccount>).

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