Interface GetAutoScalingGroupRecommendationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerRequest.Builder,CopyableBuilder<GetAutoScalingGroupRecommendationsRequest.Builder,GetAutoScalingGroupRecommendationsRequest>,SdkBuilder<GetAutoScalingGroupRecommendationsRequest.Builder,GetAutoScalingGroupRecommendationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetAutoScalingGroupRecommendationsRequest
public static interface GetAutoScalingGroupRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetAutoScalingGroupRecommendationsRequest.Builder,GetAutoScalingGroupRecommendationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetAutoScalingGroupRecommendationsRequest.BuilderaccountIds(String... accountIds)The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.GetAutoScalingGroupRecommendationsRequest.BuilderaccountIds(Collection<String> accountIds)The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.GetAutoScalingGroupRecommendationsRequest.BuilderautoScalingGroupArns(String... autoScalingGroupArns)The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.GetAutoScalingGroupRecommendationsRequest.BuilderautoScalingGroupArns(Collection<String> autoScalingGroupArns)The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.GetAutoScalingGroupRecommendationsRequest.Builderfilters(Collection<Filter> filters)An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.GetAutoScalingGroupRecommendationsRequest.Builderfilters(Consumer<Filter.Builder>... filters)An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.GetAutoScalingGroupRecommendationsRequest.Builderfilters(Filter... filters)An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.GetAutoScalingGroupRecommendationsRequest.BuildermaxResults(Integer maxResults)The maximum number of Auto Scaling group recommendations to return with a single request.GetAutoScalingGroupRecommendationsRequest.BuildernextToken(String nextToken)The token to advance to the next page of Auto Scaling group recommendations.GetAutoScalingGroupRecommendationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetAutoScalingGroupRecommendationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default GetAutoScalingGroupRecommendationsRequest.BuilderrecommendationPreferences(Consumer<RecommendationPreferences.Builder> recommendationPreferences)An object to specify the preferences for the Auto Scaling group recommendations to return in the response.GetAutoScalingGroupRecommendationsRequest.BuilderrecommendationPreferences(RecommendationPreferences recommendationPreferences)An object to specify the preferences for the Auto Scaling group recommendations to return in the response.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.computeoptimizer.model.ComputeOptimizerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accountIds
GetAutoScalingGroupRecommendationsRequest.Builder accountIds(Collection<String> accountIds)
The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
- Parameters:
accountIds- The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
GetAutoScalingGroupRecommendationsRequest.Builder accountIds(String... accountIds)
The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
- Parameters:
accountIds- The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupArns
GetAutoScalingGroupRecommendationsRequest.Builder autoScalingGroupArns(Collection<String> autoScalingGroupArns)
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
- Parameters:
autoScalingGroupArns- The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupArns
GetAutoScalingGroupRecommendationsRequest.Builder autoScalingGroupArns(String... autoScalingGroupArns)
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
- Parameters:
autoScalingGroupArns- The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetAutoScalingGroupRecommendationsRequest.Builder nextToken(String nextToken)
The token to advance to the next page of Auto Scaling group recommendations.
- Parameters:
nextToken- The token to advance to the next page of Auto Scaling group recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetAutoScalingGroupRecommendationsRequest.Builder maxResults(Integer maxResults)
The maximum number of Auto Scaling group recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned
nextTokenvalue.- Parameters:
maxResults- The maximum number of Auto Scaling group recommendations to return with a single request.To retrieve the remaining results, make another request with the returned
nextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetAutoScalingGroupRecommendationsRequest.Builder filters(Collection<Filter> filters)
An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.
- Parameters:
filters- An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetAutoScalingGroupRecommendationsRequest.Builder filters(Filter... filters)
An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.
- Parameters:
filters- An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetAutoScalingGroupRecommendationsRequest.Builder filters(Consumer<Filter.Builder>... filters)
An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.
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 to#filters(List.) - 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:
#filters(java.util.Collection)
-
recommendationPreferences
GetAutoScalingGroupRecommendationsRequest.Builder recommendationPreferences(RecommendationPreferences recommendationPreferences)
An object to specify the preferences for the Auto Scaling group recommendations to return in the response.
- Parameters:
recommendationPreferences- An object to specify the preferences for the Auto Scaling group recommendations to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationPreferences
default GetAutoScalingGroupRecommendationsRequest.Builder recommendationPreferences(Consumer<RecommendationPreferences.Builder> recommendationPreferences)
An object to specify the preferences for the Auto Scaling group recommendations to return in the response.
This is a convenience method that creates an instance of theRecommendationPreferences.Builderavoiding the need to create one manually viaRecommendationPreferences.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendationPreferences(RecommendationPreferences).- Parameters:
recommendationPreferences- a consumer that will call methods onRecommendationPreferences.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
recommendationPreferences(RecommendationPreferences)
-
overrideConfiguration
GetAutoScalingGroupRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetAutoScalingGroupRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-