Interface ListRecommendationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest>,CostOptimizationHubRequest.Builder,SdkBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListRecommendationsRequest
public static interface ListRecommendationsRequest.Builder extends CostOptimizationHubRequest.Builder, SdkPojo, CopyableBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListRecommendationsRequest.Builderfilter(Consumer<Filter.Builder> filter)The constraints that you want all returned recommendations to match.ListRecommendationsRequest.Builderfilter(Filter filter)The constraints that you want all returned recommendations to match.ListRecommendationsRequest.BuilderincludeAllRecommendations(Boolean includeAllRecommendations)List of all recommendations for a resource, or a single recommendation if de-duped byresourceId.ListRecommendationsRequest.BuildermaxResults(Integer maxResults)The maximum number of recommendations that are returned for the request.ListRecommendationsRequest.BuildernextToken(String nextToken)The token to retrieve the next set of results.default ListRecommendationsRequest.BuilderorderBy(Consumer<OrderBy.Builder> orderBy)The ordering of recommendations by a dimension.ListRecommendationsRequest.BuilderorderBy(OrderBy orderBy)The ordering of recommendations by a dimension.ListRecommendationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListRecommendationsRequest.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.costoptimizationhub.model.CostOptimizationHubRequest.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
-
filter
ListRecommendationsRequest.Builder filter(Filter filter)
The 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.
-
filter
default ListRecommendationsRequest.Builder filter(Consumer<Filter.Builder> filter)
The 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 onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(Filter)
-
orderBy
ListRecommendationsRequest.Builder orderBy(OrderBy orderBy)
The 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.
-
orderBy
default ListRecommendationsRequest.Builder orderBy(Consumer<OrderBy.Builder> orderBy)
The 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 onOrderBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
orderBy(OrderBy)
-
includeAllRecommendations
ListRecommendationsRequest.Builder includeAllRecommendations(Boolean includeAllRecommendations)
List 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 byresourceId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListRecommendationsRequest.Builder maxResults(Integer maxResults)
The 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.
-
nextToken
ListRecommendationsRequest.Builder nextToken(String nextToken)
The 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.
-
overrideConfiguration
ListRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-