Interface ListServerNeighborsRequest.Builder
- All Superinterfaces:
ApplicationDiscoveryRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ListServerNeighborsRequest.Builder,,ListServerNeighborsRequest> SdkBuilder<ListServerNeighborsRequest.Builder,,ListServerNeighborsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListServerNeighborsRequest
@Mutable
@NotThreadSafe
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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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$neighborConfigurationIdsbut setListServerNeighborsRequest$maxResultsto 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$neighborConfigurationIdsbut setListServerNeighborsRequest$maxResultsto 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-