Interface SearchAgentStatusesResponse.Builder

  • Method Details

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

      The search criteria to be used to return agent statuses.

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

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

      Parameters:
      agentStatuses - a consumer that will call methods on AgentStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.