Interface OpenSearchReservedInstancesConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OpenSearchReservedInstancesConfiguration.Builder,OpenSearchReservedInstancesConfiguration>,SdkBuilder<OpenSearchReservedInstancesConfiguration.Builder,OpenSearchReservedInstancesConfiguration>,SdkPojo
- Enclosing class:
- OpenSearchReservedInstancesConfiguration
public static interface OpenSearchReservedInstancesConfiguration.Builder extends SdkPojo, CopyableBuilder<OpenSearchReservedInstancesConfiguration.Builder,OpenSearchReservedInstancesConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpenSearchReservedInstancesConfiguration.BuilderaccountScope(String accountScope)The account scope that you want your recommendations for.OpenSearchReservedInstancesConfiguration.BuildercurrentGeneration(String currentGeneration)Determines whether the recommendation is for a current generation instance.OpenSearchReservedInstancesConfiguration.BuilderinstanceType(String instanceType)The type of instance that Amazon Web Services recommends.OpenSearchReservedInstancesConfiguration.BuildermonthlyRecurringCost(String monthlyRecurringCost)How much purchasing reserved instances costs you on a monthly basis.OpenSearchReservedInstancesConfiguration.BuildernormalizedUnitsToPurchase(String normalizedUnitsToPurchase)The number of normalized units that Amazon Web Services recommends that you purchase.OpenSearchReservedInstancesConfiguration.BuildernumberOfInstancesToPurchase(String numberOfInstancesToPurchase)The number of instances that Amazon Web Services recommends that you purchase.OpenSearchReservedInstancesConfiguration.BuilderpaymentOption(String paymentOption)The payment option for the commitment.OpenSearchReservedInstancesConfiguration.BuilderreservedInstancesRegion(String reservedInstancesRegion)The Amazon Web Services Region of the commitment.OpenSearchReservedInstancesConfiguration.Builderservice(String service)The service that you want your recommendations for.OpenSearchReservedInstancesConfiguration.BuildersizeFlexEligible(Boolean sizeFlexEligible)Determines whether the recommendation is size flexible.OpenSearchReservedInstancesConfiguration.Builderterm(String term)The reserved instances recommendation term in years.OpenSearchReservedInstancesConfiguration.BuilderupfrontCost(String upfrontCost)How much purchasing this instance costs you upfront.-
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
-
accountScope
OpenSearchReservedInstancesConfiguration.Builder accountScope(String accountScope)
The account scope that you want your recommendations for.
- Parameters:
accountScope- The account scope that you want your recommendations for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentGeneration
OpenSearchReservedInstancesConfiguration.Builder currentGeneration(String currentGeneration)
Determines whether the recommendation is for a current generation instance.
- Parameters:
currentGeneration- Determines whether the recommendation is for a current generation instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
OpenSearchReservedInstancesConfiguration.Builder instanceType(String instanceType)
The type of instance that Amazon Web Services recommends.
- Parameters:
instanceType- The type of instance that Amazon Web Services recommends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlyRecurringCost
OpenSearchReservedInstancesConfiguration.Builder monthlyRecurringCost(String monthlyRecurringCost)
How much purchasing reserved instances costs you on a monthly basis.
- Parameters:
monthlyRecurringCost- How much purchasing reserved instances costs you on a monthly basis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
normalizedUnitsToPurchase
OpenSearchReservedInstancesConfiguration.Builder normalizedUnitsToPurchase(String normalizedUnitsToPurchase)
The number of normalized units that Amazon Web Services recommends that you purchase.
- Parameters:
normalizedUnitsToPurchase- The number of normalized units that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfInstancesToPurchase
OpenSearchReservedInstancesConfiguration.Builder numberOfInstancesToPurchase(String numberOfInstancesToPurchase)
The number of instances that Amazon Web Services recommends that you purchase.
- Parameters:
numberOfInstancesToPurchase- The number of instances that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentOption
OpenSearchReservedInstancesConfiguration.Builder paymentOption(String paymentOption)
The payment option for the commitment.
- Parameters:
paymentOption- The payment option for the commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedInstancesRegion
OpenSearchReservedInstancesConfiguration.Builder reservedInstancesRegion(String reservedInstancesRegion)
The Amazon Web Services Region of the commitment.
- Parameters:
reservedInstancesRegion- The Amazon Web Services Region of the commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
OpenSearchReservedInstancesConfiguration.Builder service(String service)
The service that you want your recommendations for.
- Parameters:
service- The service that you want your recommendations for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeFlexEligible
OpenSearchReservedInstancesConfiguration.Builder sizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommendation is size flexible.
- Parameters:
sizeFlexEligible- Determines whether the recommendation is size flexible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
term
OpenSearchReservedInstancesConfiguration.Builder term(String term)
The reserved instances recommendation term in years.
- Parameters:
term- The reserved instances recommendation term in years.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontCost
OpenSearchReservedInstancesConfiguration.Builder upfrontCost(String upfrontCost)
How much purchasing this instance costs you upfront.
- Parameters:
upfrontCost- How much purchasing this instance costs you upfront.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-