Interface ListServerNeighborsRequest.Builder
- All Superinterfaces:
ApplicationDiscoveryRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<ListServerNeighborsRequest.Builder,
,ListServerNeighborsRequest> SdkBuilder<ListServerNeighborsRequest.Builder,
,ListServerNeighborsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListServerNeighborsRequest
public static interface ListServerNeighborsRequest.Builder
extends ApplicationDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<ListServerNeighborsRequest.Builder,ListServerNeighborsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationId
(String configurationId) Configuration ID of the server for which neighbors are being listed.maxResults
(Integer maxResults) Maximum number of results to return in a single page of output.neighborConfigurationIds
(String... neighborConfigurationIds) List of configuration IDs to test for one-hop-away.neighborConfigurationIds
(Collection<String> neighborConfigurationIds) List of configuration IDs to test for one-hop-away.Token to retrieve the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.portInformationNeeded
(Boolean portInformationNeeded) Flag to indicate if port and protocol information is needed as part of the response.Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 setListServerNeighborsRequest$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 forListServerNeighborsRequest$neighborConfigurationIds
but setListServerNeighborsRequest$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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListServerNeighborsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-