Interface ListServersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListServersRequest.Builder,,ListServersRequest> SdkBuilder<ListServersRequest.Builder,,ListServersRequest> SdkPojo,SdkRequest.Builder,TransferRequest.Builder
- Enclosing class:
ListServersRequest
public static interface ListServersRequest.Builder
extends TransferRequest.Builder, SdkPojo, CopyableBuilder<ListServersRequest.Builder,ListServersRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) Specifies the number of servers to return as a response to theListServersquery.When additional results are obtained from theListServerscommand, aNextTokenparameter is returned in the output.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.transfer.model.TransferRequest.Builder
build
-
Method Details
-
maxResults
Specifies the number of servers to return as a response to the
ListServersquery.- Parameters:
maxResults- Specifies the number of servers to return as a response to theListServersquery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
When additional results are obtained from the
ListServerscommand, aNextTokenparameter is returned in the output. You can then pass theNextTokenparameter in a subsequent command to continue listing additional servers.- Parameters:
nextToken- When additional results are obtained from theListServerscommand, aNextTokenparameter is returned in the output. You can then pass theNextTokenparameter in a subsequent command to continue listing additional servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListServersRequest.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
ListServersRequest.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.
-