Interface Recommendation.Builder

  • Method Details

    • recommendationId

      Recommendation.Builder recommendationId(String recommendationId)

      The ID for the recommendation.

      Parameters:
      recommendationId - The ID for the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      Recommendation.Builder accountId(String accountId)

      The account to which the recommendation applies.

      Parameters:
      accountId - The account to which the recommendation applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      The Amazon Web Services Region of the resource.

      Parameters:
      region - The Amazon Web Services Region of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      Recommendation.Builder resourceId(String resourceId)

      The resource ID for the recommendation.

      Parameters:
      resourceId - The resource ID for the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      Recommendation.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) for the recommendation.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) for the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentResourceType

      Recommendation.Builder currentResourceType(String currentResourceType)

      The current resource type.

      Parameters:
      currentResourceType - The current resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedResourceType

      Recommendation.Builder recommendedResourceType(String recommendedResourceType)

      The recommended resource type.

      Parameters:
      recommendedResourceType - The recommended resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavings

      Recommendation.Builder estimatedMonthlySavings(Double estimatedMonthlySavings)

      The estimated monthly savings amount for the recommendation.

      Parameters:
      estimatedMonthlySavings - The estimated monthly savings amount for the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedSavingsPercentage

      Recommendation.Builder estimatedSavingsPercentage(Double estimatedSavingsPercentage)

      The estimated savings percentage relative to the total cost over the cost calculation lookback period.

      Parameters:
      estimatedSavingsPercentage - The estimated savings percentage relative to the total cost over the cost calculation lookback period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlyCost

      Recommendation.Builder estimatedMonthlyCost(Double estimatedMonthlyCost)

      The estimated monthly cost of the current resource. For Reserved Instances and Savings Plans, it refers to the cost for eligible usage.

      Parameters:
      estimatedMonthlyCost - The estimated monthly cost of the current resource. For Reserved Instances and Savings Plans, it refers to the cost for eligible usage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currencyCode

      Recommendation.Builder currencyCode(String currencyCode)

      The currency code used for the recommendation.

      Parameters:
      currencyCode - The currency code used for the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • implementationEffort

      Recommendation.Builder implementationEffort(String implementationEffort)

      The effort required to implement the recommendation.

      Parameters:
      implementationEffort - The effort required to implement the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restartNeeded

      Recommendation.Builder restartNeeded(Boolean restartNeeded)

      Whether or not implementing the recommendation requires a restart.

      Parameters:
      restartNeeded - Whether or not implementing the recommendation requires a restart.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionType

      Recommendation.Builder actionType(String actionType)

      The type of tasks that can be carried out by this action.

      Parameters:
      actionType - The type of tasks that can be carried out by this action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rollbackPossible

      Recommendation.Builder rollbackPossible(Boolean rollbackPossible)

      Whether or not implementing the recommendation can be rolled back.

      Parameters:
      rollbackPossible - Whether or not implementing the recommendation can be rolled back.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentResourceSummary

      Recommendation.Builder currentResourceSummary(String currentResourceSummary)

      Describes the current resource.

      Parameters:
      currentResourceSummary - Describes the current resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedResourceSummary

      Recommendation.Builder recommendedResourceSummary(String recommendedResourceSummary)

      Describes the recommended resource.

      Parameters:
      recommendedResourceSummary - Describes the recommended resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastRefreshTimestamp

      Recommendation.Builder lastRefreshTimestamp(Instant lastRefreshTimestamp)

      The time when the recommendation was last generated.

      Parameters:
      lastRefreshTimestamp - The time when the recommendation was last generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationLookbackPeriodInDays

      Recommendation.Builder recommendationLookbackPeriodInDays(Integer recommendationLookbackPeriodInDays)

      The lookback period that's used to generate the recommendation.

      Parameters:
      recommendationLookbackPeriodInDays - The lookback period that's used to generate the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      The source of the recommendation.

      Parameters:
      source - The source of the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • source

      The source of the recommendation.

      Parameters:
      source - The source of the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      A list of tags assigned to the recommendation.

      Parameters:
      tags - A list of tags assigned to the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Recommendation.Builder tags(Tag... tags)

      A list of tags assigned to the recommendation.

      Parameters:
      tags - A list of tags assigned to the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags assigned to the recommendation.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

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