CopyableBuilder<ListServerNeighborsRequest.Builder,ListServerNeighborsRequest>
, SdkBuilder<ListServerNeighborsRequest.Builder,ListServerNeighborsRequest>
public static interface ListServerNeighborsRequest.Builder extends CopyableBuilder<ListServerNeighborsRequest.Builder,ListServerNeighborsRequest>
Modifier and Type | Method | Description |
---|---|---|
ListServerNeighborsRequest.Builder |
configurationId(String configurationId) |
Configuration ID of the server for which neighbors are being listed.
|
ListServerNeighborsRequest.Builder |
maxResults(Integer maxResults) |
Maximum number of results to return in a single page of output.
|
ListServerNeighborsRequest.Builder |
neighborConfigurationIds(String... neighborConfigurationIds) |
List of configuration IDs to test for one-hop-away.
|
ListServerNeighborsRequest.Builder |
neighborConfigurationIds(Collection<String> neighborConfigurationIds) |
List of configuration IDs to test for one-hop-away.
|
ListServerNeighborsRequest.Builder |
nextToken(String nextToken) |
Token to retrieve the next set of results.
|
ListServerNeighborsRequest.Builder |
portInformationNeeded(Boolean portInformationNeeded) |
Flag to indicate if port and protocol information is needed as part of the response.
|
copy
apply, build
ListServerNeighborsRequest.Builder configurationId(String configurationId)
Configuration ID of the server for which neighbors are being listed.
configurationId
- Configuration ID of the server for which neighbors are being listed.ListServerNeighborsRequest.Builder portInformationNeeded(Boolean portInformationNeeded)
Flag to indicate if port and protocol information is needed as part of the response.
portInformationNeeded
- Flag to indicate if port and protocol information is needed as part of the response.ListServerNeighborsRequest.Builder neighborConfigurationIds(Collection<String> neighborConfigurationIds)
List of configuration IDs to test for one-hop-away.
neighborConfigurationIds
- List of configuration IDs to test for one-hop-away.ListServerNeighborsRequest.Builder neighborConfigurationIds(String... neighborConfigurationIds)
List of configuration IDs to test for one-hop-away.
NOTE: This method appends the values to the existing list (if any). Use
#setNeighborConfigurationIds(java.util.Collection)
or
#withNeighborConfigurationIds(java.util.Collection)
if you want to override the existing values.
neighborConfigurationIds
- List of configuration IDs to test for one-hop-away.ListServerNeighborsRequest.Builder maxResults(Integer maxResults)
Maximum number of results to return in a single page of output.
maxResults
- Maximum number of results to return in a single page of output.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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.