Interface TargetInstance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TargetInstance.Builder,
,TargetInstance> SdkBuilder<TargetInstance.Builder,
,TargetInstance> SdkPojo
- Enclosing class:
TargetInstance
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) The currency code that Amazon Web Services used to calculate the costs for this instance.defaultTargetInstance
(Boolean defaultTargetInstance) Determines whether this recommendation is the defaulted Amazon Web Services recommendation.estimatedMonthlyCost
(String estimatedMonthlyCost) The expected cost to operate this instance type on a monthly basis.estimatedMonthlySavings
(String estimatedMonthlySavings) The estimated savings that result from modification, on a monthly basis.default TargetInstance.Builder
expectedResourceUtilization
(Consumer<ResourceUtilization.Builder> expectedResourceUtilization) The expected utilization metrics for target instance type.expectedResourceUtilization
(ResourceUtilization expectedResourceUtilization) The expected utilization metrics for target instance type.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.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.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.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.default TargetInstance.Builder
resourceDetails
(Consumer<ResourceDetails.Builder> resourceDetails) Details on the target instance type.resourceDetails
(ResourceDetails resourceDetails) Details on the target instance type.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 Details
-
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
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
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
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
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
Details on the target instance type.
This is a convenience method that creates an instance of theResourceDetails.Builder
avoiding the need to create one manually viaResourceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceDetails(ResourceDetails)
.- Parameters:
resourceDetails
- a consumer that will call methods onResourceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theResourceUtilization.Builder
avoiding the need to create one manually viaResourceUtilization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexpectedResourceUtilization(ResourceUtilization)
.- Parameters:
expectedResourceUtilization
- a consumer that will call methods onResourceUtilization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platformDifferencesWithStrings
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
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
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
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.
-