public static interface DeleteRecommendationPreferencesRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<DeleteRecommendationPreferencesRequest.Builder,DeleteRecommendationPreferencesRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDeleteRecommendationPreferencesRequest.Builder resourceType(String resourceType)
The target resource type of the recommendation preference to delete.
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 to delete.
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,
ResourceTypeDeleteRecommendationPreferencesRequest.Builder resourceType(ResourceType resourceType)
The target resource type of the recommendation preference to delete.
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 to delete.
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,
ResourceTypeDeleteRecommendationPreferencesRequest.Builder scope(Scope scope)
An object that describes the scope of the recommendation preference to delete.
You can delete 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 delete.
You can delete 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 DeleteRecommendationPreferencesRequest.Builder scope(Consumer<Scope.Builder> scope)
An object that describes the scope of the recommendation preference to delete.
You can delete 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)DeleteRecommendationPreferencesRequest.Builder recommendationPreferenceNamesWithStrings(Collection<String> recommendationPreferenceNames)
The name of the recommendation preference to delete.
recommendationPreferenceNames - The name of the recommendation preference to delete.DeleteRecommendationPreferencesRequest.Builder recommendationPreferenceNamesWithStrings(String... recommendationPreferenceNames)
The name of the recommendation preference to delete.
recommendationPreferenceNames - The name of the recommendation preference to delete.DeleteRecommendationPreferencesRequest.Builder recommendationPreferenceNames(Collection<RecommendationPreferenceName> recommendationPreferenceNames)
The name of the recommendation preference to delete.
recommendationPreferenceNames - The name of the recommendation preference to delete.DeleteRecommendationPreferencesRequest.Builder recommendationPreferenceNames(RecommendationPreferenceName... recommendationPreferenceNames)
The name of the recommendation preference to delete.
recommendationPreferenceNames - The name of the recommendation preference to delete.DeleteRecommendationPreferencesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDeleteRecommendationPreferencesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.