Interface ListRecommendedActionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerAutomationRequest.Builder,CopyableBuilder<ListRecommendedActionsRequest.Builder,,ListRecommendedActionsRequest> SdkBuilder<ListRecommendedActionsRequest.Builder,,ListRecommendedActionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListRecommendedActionsRequest
@Mutable
@NotThreadSafe
public static interface ListRecommendedActionsRequest.Builder
extends ComputeOptimizerAutomationRequest.Builder, SdkPojo, CopyableBuilder<ListRecommendedActionsRequest.Builder,ListRecommendedActionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<RecommendedActionFilter> filters) The filters to apply to the list of recommended actions.filters(Consumer<RecommendedActionFilter.Builder>... filters) The filters to apply to the list of recommended actions.filters(RecommendedActionFilter... filters) The filters to apply to the list of recommended actions.maxResults(Integer maxResults) The maximum number of recommended actions to return in a single response.A token used for pagination to retrieve the next set of results when the response is truncated.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.computeoptimizerautomation.model.ComputeOptimizerAutomationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
filters
The filters to apply to the list of recommended actions.
- Parameters:
filters- The filters to apply to the list of recommended actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply to the list of recommended actions.
- Parameters:
filters- The filters to apply to the list of recommended actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply to the list of recommended actions.
This is a convenience method that creates an instance of theRecommendedActionFilter.Builderavoiding the need to create one manually viaRecommendedActionFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<RecommendedActionFilter>).- Parameters:
filters- a consumer that will call methods onRecommendedActionFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of recommended actions to return in a single response. Valid range is 1-1000.
- Parameters:
maxResults- The maximum number of recommended actions to return in a single response. Valid range is 1-1000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token used for pagination to retrieve the next set of results when the response is truncated.
- Parameters:
nextToken- A token used for pagination to retrieve the next set of results when the response is truncated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListRecommendedActionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListRecommendedActionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-