Interface PreferredResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PreferredResource.Builder,
,PreferredResource> SdkBuilder<PreferredResource.Builder,
,PreferredResource> SdkPojo
- Enclosing class:
PreferredResource
-
Method Summary
Modifier and TypeMethodDescriptionexcludeList
(String... excludeList) The preferred resource type values to exclude from the recommendation candidates.excludeList
(Collection<String> excludeList) The preferred resource type values to exclude from the recommendation candidates.includeList
(String... includeList) The preferred resource type values to include in the recommendation candidates.includeList
(Collection<String> includeList) The preferred resource type values to include in the recommendation candidates.The type of preferred resource to customize.name
(PreferredResourceName name) The type of preferred resource to customize.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 Details
-
name
The type of preferred resource to customize.
Compute Optimizer only supports the customization of
Ec2InstanceTypes
.- Parameters:
name
- The type of preferred resource to customize.Compute Optimizer only supports the customization of
Ec2InstanceTypes
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The type of preferred resource to customize.
Compute Optimizer only supports the customization of
Ec2InstanceTypes
.- Parameters:
name
- The type of preferred resource to customize.Compute Optimizer only supports the customization of
Ec2InstanceTypes
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includeList
The preferred resource type values to include in the recommendation candidates. You can specify the exact resource type value, such as m5.large, or use wild card expressions, such as m5. If this isn’t specified, all supported resources are included by default. You can specify up to 1000 values in this list.
- Parameters:
includeList
- The preferred resource type values to include in the recommendation candidates. You can specify the exact resource type value, such as m5.large, or use wild card expressions, such as m5. If this isn’t specified, all supported resources are included by default. You can specify up to 1000 values in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeList
The preferred resource type values to include in the recommendation candidates. You can specify the exact resource type value, such as m5.large, or use wild card expressions, such as m5. If this isn’t specified, all supported resources are included by default. You can specify up to 1000 values in this list.
- Parameters:
includeList
- The preferred resource type values to include in the recommendation candidates. You can specify the exact resource type value, such as m5.large, or use wild card expressions, such as m5. If this isn’t specified, all supported resources are included by default. You can specify up to 1000 values in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeList
The preferred resource type values to exclude from the recommendation candidates. If this isn’t specified, all supported resources are included by default. You can specify up to 1000 values in this list.
- Parameters:
excludeList
- The preferred resource type values to exclude from the recommendation candidates. If this isn’t specified, all supported resources are included by default. You can specify up to 1000 values in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeList
The preferred resource type values to exclude from the recommendation candidates. If this isn’t specified, all supported resources are included by default. You can specify up to 1000 values in this list.
- Parameters:
excludeList
- The preferred resource type values to exclude from the recommendation candidates. If this isn’t specified, all supported resources are included by default. You can specify up to 1000 values in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-