Interface ListHostsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeStarConnectionsRequest.Builder,CopyableBuilder<ListHostsRequest.Builder,ListHostsRequest>,SdkBuilder<ListHostsRequest.Builder,ListHostsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListHostsRequest
public static interface ListHostsRequest.Builder extends CodeStarConnectionsRequest.Builder, SdkPojo, CopyableBuilder<ListHostsRequest.Builder,ListHostsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListHostsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in a single call.ListHostsRequest.BuildernextToken(String nextToken)The token that was returned from the previousListHostscall, which can be used to return the next set of hosts in the list.ListHostsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListHostsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codestarconnections.model.CodeStarConnectionsRequest.Builder
build
-
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 Detail
-
maxResults
ListHostsRequest.Builder maxResults(Integer 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
ListHostsRequest.Builder nextToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListHostsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-