Interface ListServerNeighborsRequest.Builder

    • Method Detail

      • configurationId

        ListServerNeighborsRequest.Builder configurationId​(String configurationId)

        Configuration ID of the server for which neighbors are being listed.

        Parameters:
        configurationId - Configuration ID of the server for which neighbors are being listed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • portInformationNeeded

        ListServerNeighborsRequest.Builder portInformationNeeded​(Boolean portInformationNeeded)

        Flag to indicate if port and protocol information is needed as part of the response.

        Parameters:
        portInformationNeeded - Flag to indicate if port and protocol information is needed as part of the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • neighborConfigurationIds

        ListServerNeighborsRequest.Builder neighborConfigurationIds​(Collection<String> neighborConfigurationIds)

        List of configuration IDs to test for one-hop-away.

        Parameters:
        neighborConfigurationIds - List of configuration IDs to test for one-hop-away.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • neighborConfigurationIds

        ListServerNeighborsRequest.Builder neighborConfigurationIds​(String... neighborConfigurationIds)

        List of configuration IDs to test for one-hop-away.

        Parameters:
        neighborConfigurationIds - List of configuration IDs to test for one-hop-away.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListServerNeighborsRequest.Builder maxResults​(Integer maxResults)

        Maximum number of results to return in a single page of output.

        Parameters:
        maxResults - Maximum number of results to return in a single page of output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListServerNeighborsRequest.Builder nextToken​(String nextToken)

        Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.

        Parameters:
        nextToken - Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
        Returns:
        Returns a reference to this object so that method calls can be chained together.