Interface DescribeRecommendationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeRecommendationsRequest.Builder,
,DescribeRecommendationsRequest> DatabaseMigrationRequest.Builder
,SdkBuilder<DescribeRecommendationsRequest.Builder,
,DescribeRecommendationsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeRecommendationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<Filter> filters) Filters applied to the target engine recommendations described in the form of key-value pairs.filters
(Consumer<Filter.Builder>... filters) Filters applied to the target engine recommendations described in the form of key-value pairs.Filters applied to the target engine recommendations described in the form of key-value pairs.maxRecords
(Integer maxRecords) The maximum number of records to include in the response.Specifies the unique pagination token that makes it possible to display the next page of results.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filters
Filters applied to the target engine recommendations described in the form of key-value pairs.
- Parameters:
filters
- Filters applied to the target engine recommendations described in the form of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters applied to the target engine recommendations described in the form of key-value pairs.
- Parameters:
filters
- Filters applied to the target engine recommendations described in the form of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters applied to the target engine recommendations described in the form of key-value pairs.
This is a convenience method that creates an instance of theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxRecords
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, Fleet Advisor includes a pagination token in the response so that you can retrieve the remaining results.- Parameters:
maxRecords
- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecords
value, Fleet Advisor includes a pagination token in the response so that you can retrieve the remaining results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.If
NextToken
is returned by a previous response, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.- Parameters:
nextToken
- Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.If
NextToken
is returned by a previous response, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-