Interface PreviewAgentsResponse.Builder

    • Method Detail

      • agentPreviews

        PreviewAgentsResponse.Builder agentPreviews​(Collection<AgentPreview> agentPreviews)

        The resulting list of agents.

        Parameters:
        agentPreviews - The resulting list of agents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentPreviews

        PreviewAgentsResponse.Builder agentPreviews​(AgentPreview... agentPreviews)

        The resulting list of agents.

        Parameters:
        agentPreviews - The resulting list of agents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        PreviewAgentsResponse.Builder nextToken​(String nextToken)

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