Interface Ec2ReservedInstancesConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Ec2ReservedInstancesConfiguration.Builder,Ec2ReservedInstancesConfiguration>,SdkBuilder<Ec2ReservedInstancesConfiguration.Builder,Ec2ReservedInstancesConfiguration>,SdkPojo
- Enclosing class:
- Ec2ReservedInstancesConfiguration
public static interface Ec2ReservedInstancesConfiguration.Builder extends SdkPojo, CopyableBuilder<Ec2ReservedInstancesConfiguration.Builder,Ec2ReservedInstancesConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ec2ReservedInstancesConfiguration.BuilderaccountScope(String accountScope)The account scope that you want your recommendations for.Ec2ReservedInstancesConfiguration.BuildercurrentGeneration(String currentGeneration)Determines whether the recommendation is for a current generation instance.Ec2ReservedInstancesConfiguration.BuilderinstanceFamily(String instanceFamily)The instance family of the recommended reservation.Ec2ReservedInstancesConfiguration.BuilderinstanceType(String instanceType)The type of instance that Amazon Web Services recommends.Ec2ReservedInstancesConfiguration.BuildermonthlyRecurringCost(String monthlyRecurringCost)How much purchasing reserved instances costs you on a monthly basis.Ec2ReservedInstancesConfiguration.BuildernormalizedUnitsToPurchase(String normalizedUnitsToPurchase)The number of normalized units that Amazon Web Services recommends that you purchase.Ec2ReservedInstancesConfiguration.BuildernumberOfInstancesToPurchase(String numberOfInstancesToPurchase)The number of instances that Amazon Web Services recommends that you purchase.Ec2ReservedInstancesConfiguration.BuilderofferingClass(String offeringClass)Indicates whether the recommendation is for standard or convertible reservations.Ec2ReservedInstancesConfiguration.BuilderpaymentOption(String paymentOption)The payment option for the commitment.Ec2ReservedInstancesConfiguration.Builderplatform(String platform)The platform of the recommended reservation.Ec2ReservedInstancesConfiguration.BuilderreservedInstancesRegion(String reservedInstancesRegion)The Amazon Web Services Region of the commitment.Ec2ReservedInstancesConfiguration.Builderservice(String service)The service that you want your recommendations for.Ec2ReservedInstancesConfiguration.BuildersizeFlexEligible(Boolean sizeFlexEligible)Determines whether the recommendation is size flexible.Ec2ReservedInstancesConfiguration.Buildertenancy(String tenancy)Determines whether the recommended reservation is dedicated or shared.Ec2ReservedInstancesConfiguration.Builderterm(String term)The reserved instances recommendation term in years.Ec2ReservedInstancesConfiguration.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accountScope
Ec2ReservedInstancesConfiguration.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.
-
service
Ec2ReservedInstancesConfiguration.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.
-
normalizedUnitsToPurchase
Ec2ReservedInstancesConfiguration.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.
-
term
Ec2ReservedInstancesConfiguration.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.
-
paymentOption
Ec2ReservedInstancesConfiguration.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.
-
numberOfInstancesToPurchase
Ec2ReservedInstancesConfiguration.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.
-
offeringClass
Ec2ReservedInstancesConfiguration.Builder offeringClass(String offeringClass)
Indicates whether the recommendation is for standard or convertible reservations.
- Parameters:
offeringClass- Indicates whether the recommendation is for standard or convertible reservations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamily
Ec2ReservedInstancesConfiguration.Builder instanceFamily(String instanceFamily)
The instance family of the recommended reservation.
- Parameters:
instanceFamily- The instance family of the recommended reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
Ec2ReservedInstancesConfiguration.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.
-
reservedInstancesRegion
Ec2ReservedInstancesConfiguration.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.
-
currentGeneration
Ec2ReservedInstancesConfiguration.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.
-
platform
Ec2ReservedInstancesConfiguration.Builder platform(String platform)
The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
- Parameters:
platform- The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenancy
Ec2ReservedInstancesConfiguration.Builder tenancy(String tenancy)
Determines whether the recommended reservation is dedicated or shared.
- Parameters:
tenancy- Determines whether the recommended reservation is dedicated or shared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeFlexEligible
Ec2ReservedInstancesConfiguration.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.
-
upfrontCost
Ec2ReservedInstancesConfiguration.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.
-
monthlyRecurringCost
Ec2ReservedInstancesConfiguration.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.
-
-