Interface SearchAgentStatusesResponse.Builder

    • Method Detail

      • agentStatuses

        SearchAgentStatusesResponse.Builder agentStatuses​(Collection<AgentStatus> agentStatuses)

        The search criteria to be used to return agent statuses.

        Parameters:
        agentStatuses - The search criteria to be used to return agent statuses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentStatuses

        SearchAgentStatusesResponse.Builder agentStatuses​(AgentStatus... agentStatuses)

        The search criteria to be used to return agent statuses.

        Parameters:
        agentStatuses - The search criteria to be used to return agent statuses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        SearchAgentStatusesResponse.Builder nextToken​(String nextToken)

        If there are additional results, this is the token for the next set of results.

        Parameters:
        nextToken - If there are additional results, this is the token for the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approximateTotalCount

        SearchAgentStatusesResponse.Builder approximateTotalCount​(Long approximateTotalCount)

        The total number of agent statuses which matched your search query.

        Parameters:
        approximateTotalCount - The total number of agent statuses which matched your search query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.