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 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

      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.