Interface TargetInstance.Builder

  • Method Details

    • estimatedMonthlyCost

      TargetInstance.Builder estimatedMonthlyCost(String estimatedMonthlyCost)

      The expected cost to operate this instance type on a monthly basis.

      Parameters:
      estimatedMonthlyCost - The expected cost to operate this instance type on a monthly basis.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavings

      TargetInstance.Builder estimatedMonthlySavings(String estimatedMonthlySavings)

      The estimated savings that result from modification, on a monthly basis.

      Parameters:
      estimatedMonthlySavings - The estimated savings that result from modification, on a monthly basis.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currencyCode

      TargetInstance.Builder currencyCode(String currencyCode)

      The currency code that Amazon Web Services used to calculate the costs for this instance.

      Parameters:
      currencyCode - The currency code that Amazon Web Services used to calculate the costs for this instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultTargetInstance

      TargetInstance.Builder defaultTargetInstance(Boolean defaultTargetInstance)

      Determines whether this recommendation is the defaulted Amazon Web Services recommendation.

      Parameters:
      defaultTargetInstance - Determines whether this recommendation is the defaulted Amazon Web Services recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceDetails

      TargetInstance.Builder resourceDetails(ResourceDetails resourceDetails)

      Details on the target instance type.

      Parameters:
      resourceDetails - Details on the target instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceDetails

      default TargetInstance.Builder resourceDetails(Consumer<ResourceDetails.Builder> resourceDetails)

      Details on the target instance type.

      This is a convenience method that creates an instance of the ResourceDetails.Builder avoiding the need to create one manually via ResourceDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceDetails(ResourceDetails).

      Parameters:
      resourceDetails - a consumer that will call methods on ResourceDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expectedResourceUtilization

      TargetInstance.Builder expectedResourceUtilization(ResourceUtilization expectedResourceUtilization)

      The expected utilization metrics for target instance type.

      Parameters:
      expectedResourceUtilization - The expected utilization metrics for target instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expectedResourceUtilization

      default TargetInstance.Builder expectedResourceUtilization(Consumer<ResourceUtilization.Builder> expectedResourceUtilization)

      The expected utilization metrics for target instance type.

      This is a convenience method that creates an instance of the ResourceUtilization.Builder avoiding the need to create one manually via ResourceUtilization.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to expectedResourceUtilization(ResourceUtilization).

      Parameters:
      expectedResourceUtilization - a consumer that will call methods on ResourceUtilization.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • platformDifferencesWithStrings

      TargetInstance.Builder platformDifferencesWithStrings(Collection<String> platformDifferences)

      Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.

      Parameters:
      platformDifferences - Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platformDifferencesWithStrings

      TargetInstance.Builder platformDifferencesWithStrings(String... platformDifferences)

      Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.

      Parameters:
      platformDifferences - Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platformDifferences

      TargetInstance.Builder platformDifferences(Collection<PlatformDifference> platformDifferences)

      Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.

      Parameters:
      platformDifferences - Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platformDifferences

      TargetInstance.Builder platformDifferences(PlatformDifference... platformDifferences)

      Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.

      Parameters:
      platformDifferences - Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.