Interface PreferredResource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PreferredResource.Builder,PreferredResource>,SdkBuilder<PreferredResource.Builder,PreferredResource>,SdkPojo
- Enclosing class:
- PreferredResource
public static interface PreferredResource.Builder extends SdkPojo, CopyableBuilder<PreferredResource.Builder,PreferredResource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PreferredResource.BuilderexcludeList(String... excludeList)The preferred resource type values to exclude from the recommendation candidates.PreferredResource.BuilderexcludeList(Collection<String> excludeList)The preferred resource type values to exclude from the recommendation candidates.PreferredResource.BuilderincludeList(String... includeList)The preferred resource type values to include in the recommendation candidates.PreferredResource.BuilderincludeList(Collection<String> includeList)The preferred resource type values to include in the recommendation candidates.PreferredResource.Buildername(String name)The type of preferred resource to customize.PreferredResource.Buildername(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 Detail
-
name
PreferredResource.Builder name(String 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:
PreferredResourceName,PreferredResourceName
-
name
PreferredResource.Builder name(PreferredResourceName 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:
PreferredResourceName,PreferredResourceName
-
includeList
PreferredResource.Builder includeList(Collection<String> 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
PreferredResource.Builder includeList(String... 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
PreferredResource.Builder excludeList(Collection<String> 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
PreferredResource.Builder excludeList(String... 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.
-
-