Interface ListOrganizationAdminAccountsResponse.Builder

    • Method Detail

      • adminAccounts

        ListOrganizationAdminAccountsResponse.Builder adminAccounts​(Collection<AdminAccount> adminAccounts)

        An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.

        Parameters:
        adminAccounts - An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • adminAccounts

        ListOrganizationAdminAccountsResponse.Builder adminAccounts​(AdminAccount... adminAccounts)

        An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.

        Parameters:
        adminAccounts - An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListOrganizationAdminAccountsResponse.Builder nextToken​(String nextToken)

        The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

        Parameters:
        nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.