Interface ListRecommendationsRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<ListRecommendationsRequest.Builder,,- ListRecommendationsRequest> - CostOptimizationHubRequest.Builder,- SdkBuilder<ListRecommendationsRequest.Builder,,- ListRecommendationsRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- ListRecommendationsRequest
@Mutable
@NotThreadSafe
public static interface ListRecommendationsRequest.Builder
extends CostOptimizationHubRequest.Builder, SdkPojo, CopyableBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionfilter(Consumer<Filter.Builder> filter) The constraints that you want all returned recommendations to match.The constraints that you want all returned recommendations to match.includeAllRecommendations(Boolean includeAllRecommendations) List of all recommendations for a resource, or a single recommendation if de-duped byresourceId.maxResults(Integer maxResults) The maximum number of recommendations that are returned for the request.The token to retrieve the next set of results.orderBy(Consumer<OrderBy.Builder> orderBy) The ordering of recommendations by a dimension.The ordering of recommendations by a dimension.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.services.costoptimizationhub.model.CostOptimizationHubRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
filterThe constraints that you want all returned recommendations to match. - Parameters:
- filter- The constraints that you want all returned recommendations to match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
filterThe constraints that you want all returned recommendations to match. This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(Filter).- Parameters:
- filter- a consumer that will call methods on- Filter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
orderByThe ordering of recommendations by a dimension. - Parameters:
- orderBy- The ordering of recommendations by a dimension.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
orderByThe ordering of recommendations by a dimension. This is a convenience method that creates an instance of theOrderBy.Builderavoiding the need to create one manually viaOrderBy.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorderBy(OrderBy).- Parameters:
- orderBy- a consumer that will call methods on- OrderBy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
includeAllRecommendationsList of all recommendations for a resource, or a single recommendation if de-duped by resourceId.- Parameters:
- includeAllRecommendations- List of all recommendations for a resource, or a single recommendation if de-duped by- resourceId.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxResultsThe maximum number of recommendations that are returned for the request. - Parameters:
- maxResults- The maximum number of recommendations that are returned for the request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nextTokenThe token to retrieve the next set of results. - Parameters:
- nextToken- The token to retrieve the next set of results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationListRecommendationsRequest.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.
 
- 
overrideConfigurationListRecommendationsRequest.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.
 
 
-