Interface Recommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Recommendation.Builder,Recommendation>,SdkBuilder<Recommendation.Builder,Recommendation>,SdkPojo
- Enclosing class:
- Recommendation
public static interface Recommendation.Builder extends SdkPojo, CopyableBuilder<Recommendation.Builder,Recommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Recommendation.BuilderaccountId(String accountId)The account that the recommendation is for.Recommendation.BuilderactionType(String actionType)The type of tasks that can be carried out by this action.Recommendation.BuildercurrencyCode(String currencyCode)The currency code used for the recommendation.Recommendation.BuildercurrentResourceSummary(String currentResourceSummary)Describes the current resource.Recommendation.BuildercurrentResourceType(String currentResourceType)The current resource type.Recommendation.BuilderestimatedMonthlyCost(Double estimatedMonthlyCost)The estimated monthly cost for the recommendation.Recommendation.BuilderestimatedMonthlySavings(Double estimatedMonthlySavings)The estimated monthly savings amount for the recommendation.Recommendation.BuilderestimatedSavingsPercentage(Double estimatedSavingsPercentage)The estimated savings percentage relative to the total cost over the cost calculation lookback period.Recommendation.BuilderimplementationEffort(String implementationEffort)The effort required to implement the recommendation.Recommendation.BuilderlastRefreshTimestamp(Instant lastRefreshTimestamp)The time when the recommendation was last generated.Recommendation.BuilderrecommendationId(String recommendationId)The ID for the recommendation.Recommendation.BuilderrecommendationLookbackPeriodInDays(Integer recommendationLookbackPeriodInDays)The lookback period that's used to generate the recommendation.Recommendation.BuilderrecommendedResourceSummary(String recommendedResourceSummary)Describes the recommended resource.Recommendation.BuilderrecommendedResourceType(String recommendedResourceType)The recommended resource type.Recommendation.Builderregion(String region)The Amazon Web Services Region of the resource.Recommendation.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) for the recommendation.Recommendation.BuilderresourceId(String resourceId)The resource ID for the recommendation.Recommendation.BuilderrestartNeeded(Boolean restartNeeded)Whether or not implementing the recommendation requires a restart.Recommendation.BuilderrollbackPossible(Boolean rollbackPossible)Whether or not implementing the recommendation can be rolled back.Recommendation.Buildersource(String source)The source of the recommendation.Recommendation.Buildersource(Source source)The source of the recommendation.Recommendation.Buildertags(Collection<Tag> tags)A list of tags assigned to the recommendation.Recommendation.Buildertags(Consumer<Tag.Builder>... tags)A list of tags assigned to the recommendation.Recommendation.Buildertags(Tag... tags)A list of tags assigned to the recommendation.-
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
-
accountId
Recommendation.Builder accountId(String accountId)
The account that the recommendation is for.
- Parameters:
accountId- The account that the recommendation is for.- 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.
-
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.
-
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.
-
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.
-
estimatedMonthlyCost
Recommendation.Builder estimatedMonthlyCost(Double estimatedMonthlyCost)
The estimated monthly cost for the recommendation.
- Parameters:
estimatedMonthlyCost- The estimated monthly cost for the recommendation.- 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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
region
Recommendation.Builder region(String 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.
-
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.
-
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.
-
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.
-
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.
-
source
Recommendation.Builder source(String source)
The source of the recommendation.
-
source
Recommendation.Builder source(Source source)
The source of the recommendation.
-
tags
Recommendation.Builder tags(Collection<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
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
Recommendation.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags assigned to the recommendation.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-