Interface ListServerNeighborsRequest.Builder

All Superinterfaces:
ApplicationDiscoveryRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<ListServerNeighborsRequest.Builder,ListServerNeighborsRequest>, SdkBuilder<ListServerNeighborsRequest.Builder,ListServerNeighborsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListServerNeighborsRequest

  • Method Details

    • 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

      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

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

      ListServerNeighborsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.