Interface ListServersRequest.Builder

    • Method Detail

      • maxResults

        ListServersRequest.Builder maxResults​(Integer maxResults)

        Specifies the number of servers to return as a response to the ListServers query.

        Parameters:
        maxResults - Specifies the number of servers to return as a response to the ListServers query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListServersRequest.Builder nextToken​(String nextToken)

        When additional results are obtained from the ListServers command, a NextToken parameter is returned in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional servers.

        Parameters:
        nextToken - When additional results are obtained from the ListServers command, a NextToken parameter is returned in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional servers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.