Interface ListCollectorsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListCollectorsRequest.Builder,ListCollectorsRequest>,MigrationHubStrategyRequest.Builder,SdkBuilder<ListCollectorsRequest.Builder,ListCollectorsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListCollectorsRequest
public static interface ListCollectorsRequest.Builder extends MigrationHubStrategyRequest.Builder, SdkPojo, CopyableBuilder<ListCollectorsRequest.Builder,ListCollectorsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCollectorsRequest.BuildermaxResults(Integer maxResults)The maximum number of items to include in the response.ListCollectorsRequest.BuildernextToken(String nextToken)The token from a previous call that you use to retrieve the next set of results.ListCollectorsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListCollectorsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
maxResults
ListCollectorsRequest.Builder maxResults(Integer maxResults)
The maximum number of items to include in the response. The maximum value is 100.
- Parameters:
maxResults- The maximum number of items to include in the response. The maximum value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListCollectorsRequest.Builder nextToken(String nextToken)
The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set
maxResultsto 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.- Parameters:
nextToken- The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you setmaxResultsto 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListCollectorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListCollectorsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-