Interface ListHostsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeConnectionsRequest.Builder,CopyableBuilder<ListHostsRequest.Builder,,ListHostsRequest> SdkBuilder<ListHostsRequest.Builder,,ListHostsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListHostsRequest
public static interface ListHostsRequest.Builder
extends CodeConnectionsRequest.Builder, SdkPojo, CopyableBuilder<ListHostsRequest.Builder,ListHostsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results to return in a single call.The token that was returned from the previousListHostscall, which can be used to return the next set of hosts in the list.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.services.codeconnections.model.CodeConnectionsRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
maxResults
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.- Parameters:
maxResults- The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returnednextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token that was returned from the previous
ListHostscall, which can be used to return the next set of hosts in the list.- Parameters:
nextToken- The token that was returned from the previousListHostscall, which can be used to return the next set of hosts in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListHostsRequest.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
ListHostsRequest.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.
-