public static interface GetRecommendationPreferencesRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetRecommendationPreferencesRequest.Builder,GetRecommendationPreferencesRequest>
| Modifier and Type | Method and Description |
|---|---|
GetRecommendationPreferencesRequest.Builder |
maxResults(Integer maxResults)
The maximum number of recommendation preferences to return with a single request.
|
GetRecommendationPreferencesRequest.Builder |
nextToken(String nextToken)
The token to advance to the next page of recommendation preferences.
|
GetRecommendationPreferencesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetRecommendationPreferencesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetRecommendationPreferencesRequest.Builder |
resourceType(ResourceType resourceType)
The target resource type of the recommendation preference for which to return preferences.
|
GetRecommendationPreferencesRequest.Builder |
resourceType(String resourceType)
The target resource type of the recommendation preference for which to return preferences.
|
default GetRecommendationPreferencesRequest.Builder |
scope(Consumer<Scope.Builder> scope)
An object that describes the scope of the recommendation preference to return.
|
GetRecommendationPreferencesRequest.Builder |
scope(Scope scope)
An object that describes the scope of the recommendation preference to return.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRecommendationPreferencesRequest.Builder resourceType(String resourceType)
The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance option encompasses standalone instances and instances that are part of Auto
Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto
Scaling group.
The valid values for this parameter are Ec2Instance and AutoScalingGroup.
resourceType - The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance option encompasses standalone instances and instances that are part of
Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part
of an Auto Scaling group.
The valid values for this parameter are Ec2Instance and AutoScalingGroup.
ResourceType,
ResourceTypeGetRecommendationPreferencesRequest.Builder resourceType(ResourceType resourceType)
The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance option encompasses standalone instances and instances that are part of Auto
Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto
Scaling group.
The valid values for this parameter are Ec2Instance and AutoScalingGroup.
resourceType - The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance option encompasses standalone instances and instances that are part of
Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part
of an Auto Scaling group.
The valid values for this parameter are Ec2Instance and AutoScalingGroup.
ResourceType,
ResourceTypeGetRecommendationPreferencesRequest.Builder scope(Scope scope)
An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
scope - An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
default GetRecommendationPreferencesRequest.Builder scope(Consumer<Scope.Builder> scope)
An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
This is a convenience method that creates an instance of theScope.Builder avoiding the need to
create one manually via Scope.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to scope(Scope).
scope - a consumer that will call methods on Scope.Builderscope(Scope)GetRecommendationPreferencesRequest.Builder nextToken(String nextToken)
The token to advance to the next page of recommendation preferences.
nextToken - The token to advance to the next page of recommendation preferences.GetRecommendationPreferencesRequest.Builder maxResults(Integer maxResults)
The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken value.
maxResults - The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
GetRecommendationPreferencesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetRecommendationPreferencesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.