Interface ListServersRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<ListServersRequest.Builder,,- ListServersRequest> - SdkBuilder<ListServersRequest.Builder,,- ListServersRequest> - SdkPojo,- SdkRequest.Builder,- TransferRequest.Builder
- Enclosing class:
- ListServersRequest
@Mutable
@NotThreadSafe
public static interface ListServersRequest.Builder
extends TransferRequest.Builder, SdkPojo, CopyableBuilder<ListServersRequest.Builder,ListServersRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.transfer.model.TransferRequest.Builderbuild
- 
Method Details- 
maxResultsSpecifies 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 the- ListServersquery.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nextTokenWhen 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 the- ListServerscommand, a- NextTokenparameter is returned in the output. You can then pass the- NextTokenparameter in a subsequent command to continue listing additional servers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationListServersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationListServersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-