@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenSearchReservedInstancesConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The OpenSearch reserved instances configuration used for recommendations.
Constructor and Description |
---|
OpenSearchReservedInstancesConfiguration() |
Modifier and Type | Method and Description |
---|---|
OpenSearchReservedInstancesConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAccountScope()
The account scope that you want your recommendations for.
|
String |
getCurrentGeneration()
Determines whether the recommendation is for a current generation instance.
|
String |
getInstanceType()
The type of instance that Amazon Web Services recommends.
|
String |
getMonthlyRecurringCost()
How much purchasing reserved instances costs you on a monthly basis.
|
String |
getNormalizedUnitsToPurchase()
The number of normalized units that Amazon Web Services recommends that you purchase.
|
String |
getNumberOfInstancesToPurchase()
The number of instances that Amazon Web Services recommends that you purchase.
|
String |
getPaymentOption()
The payment option for the commitment.
|
String |
getReservedInstancesRegion()
The Amazon Web Services Region of the commitment.
|
String |
getService()
The service that you want your recommendations for.
|
Boolean |
getSizeFlexEligible()
Determines whether the recommendation is size flexible.
|
String |
getTerm()
The reserved instances recommendation term in years.
|
String |
getUpfrontCost()
How much purchasing this instance costs you upfront.
|
int |
hashCode() |
Boolean |
isSizeFlexEligible()
Determines whether the recommendation is size flexible.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
void |
setCurrentGeneration(String currentGeneration)
Determines whether the recommendation is for a current generation instance.
|
void |
setInstanceType(String instanceType)
The type of instance that Amazon Web Services recommends.
|
void |
setMonthlyRecurringCost(String monthlyRecurringCost)
How much purchasing reserved instances costs you on a monthly basis.
|
void |
setNormalizedUnitsToPurchase(String normalizedUnitsToPurchase)
The number of normalized units that Amazon Web Services recommends that you purchase.
|
void |
setNumberOfInstancesToPurchase(String numberOfInstancesToPurchase)
The number of instances that Amazon Web Services recommends that you purchase.
|
void |
setPaymentOption(String paymentOption)
The payment option for the commitment.
|
void |
setReservedInstancesRegion(String reservedInstancesRegion)
The Amazon Web Services Region of the commitment.
|
void |
setService(String service)
The service that you want your recommendations for.
|
void |
setSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommendation is size flexible.
|
void |
setTerm(String term)
The reserved instances recommendation term in years.
|
void |
setUpfrontCost(String upfrontCost)
How much purchasing this instance costs you upfront.
|
String |
toString()
Returns a string representation of this object.
|
OpenSearchReservedInstancesConfiguration |
withAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
OpenSearchReservedInstancesConfiguration |
withCurrentGeneration(String currentGeneration)
Determines whether the recommendation is for a current generation instance.
|
OpenSearchReservedInstancesConfiguration |
withInstanceType(String instanceType)
The type of instance that Amazon Web Services recommends.
|
OpenSearchReservedInstancesConfiguration |
withMonthlyRecurringCost(String monthlyRecurringCost)
How much purchasing reserved instances costs you on a monthly basis.
|
OpenSearchReservedInstancesConfiguration |
withNormalizedUnitsToPurchase(String normalizedUnitsToPurchase)
The number of normalized units that Amazon Web Services recommends that you purchase.
|
OpenSearchReservedInstancesConfiguration |
withNumberOfInstancesToPurchase(String numberOfInstancesToPurchase)
The number of instances that Amazon Web Services recommends that you purchase.
|
OpenSearchReservedInstancesConfiguration |
withPaymentOption(String paymentOption)
The payment option for the commitment.
|
OpenSearchReservedInstancesConfiguration |
withReservedInstancesRegion(String reservedInstancesRegion)
The Amazon Web Services Region of the commitment.
|
OpenSearchReservedInstancesConfiguration |
withService(String service)
The service that you want your recommendations for.
|
OpenSearchReservedInstancesConfiguration |
withSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommendation is size flexible.
|
OpenSearchReservedInstancesConfiguration |
withTerm(String term)
The reserved instances recommendation term in years.
|
OpenSearchReservedInstancesConfiguration |
withUpfrontCost(String upfrontCost)
How much purchasing this instance costs you upfront.
|
public OpenSearchReservedInstancesConfiguration()
public void setAccountScope(String accountScope)
The account scope that you want your recommendations for.
accountScope
- The account scope that you want your recommendations for.public String getAccountScope()
The account scope that you want your recommendations for.
public OpenSearchReservedInstancesConfiguration withAccountScope(String accountScope)
The account scope that you want your recommendations for.
accountScope
- The account scope that you want your recommendations for.public void setService(String service)
The service that you want your recommendations for.
service
- The service that you want your recommendations for.public String getService()
The service that you want your recommendations for.
public OpenSearchReservedInstancesConfiguration withService(String service)
The service that you want your recommendations for.
service
- The service that you want your recommendations for.public void setNormalizedUnitsToPurchase(String normalizedUnitsToPurchase)
The number of normalized units that Amazon Web Services recommends that you purchase.
normalizedUnitsToPurchase
- The number of normalized units that Amazon Web Services recommends that you purchase.public String getNormalizedUnitsToPurchase()
The number of normalized units that Amazon Web Services recommends that you purchase.
public OpenSearchReservedInstancesConfiguration withNormalizedUnitsToPurchase(String normalizedUnitsToPurchase)
The number of normalized units that Amazon Web Services recommends that you purchase.
normalizedUnitsToPurchase
- The number of normalized units that Amazon Web Services recommends that you purchase.public void setTerm(String term)
The reserved instances recommendation term in years.
term
- The reserved instances recommendation term in years.public String getTerm()
The reserved instances recommendation term in years.
public OpenSearchReservedInstancesConfiguration withTerm(String term)
The reserved instances recommendation term in years.
term
- The reserved instances recommendation term in years.public void setPaymentOption(String paymentOption)
The payment option for the commitment.
paymentOption
- The payment option for the commitment.public String getPaymentOption()
The payment option for the commitment.
public OpenSearchReservedInstancesConfiguration withPaymentOption(String paymentOption)
The payment option for the commitment.
paymentOption
- The payment option for the commitment.public void setNumberOfInstancesToPurchase(String numberOfInstancesToPurchase)
The number of instances that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase
- The number of instances that Amazon Web Services recommends that you purchase.public String getNumberOfInstancesToPurchase()
The number of instances that Amazon Web Services recommends that you purchase.
public OpenSearchReservedInstancesConfiguration withNumberOfInstancesToPurchase(String numberOfInstancesToPurchase)
The number of instances that Amazon Web Services recommends that you purchase.
numberOfInstancesToPurchase
- The number of instances that Amazon Web Services recommends that you purchase.public void setInstanceType(String instanceType)
The type of instance that Amazon Web Services recommends.
instanceType
- The type of instance that Amazon Web Services recommends.public String getInstanceType()
The type of instance that Amazon Web Services recommends.
public OpenSearchReservedInstancesConfiguration withInstanceType(String instanceType)
The type of instance that Amazon Web Services recommends.
instanceType
- The type of instance that Amazon Web Services recommends.public void setReservedInstancesRegion(String reservedInstancesRegion)
The Amazon Web Services Region of the commitment.
reservedInstancesRegion
- The Amazon Web Services Region of the commitment.public String getReservedInstancesRegion()
The Amazon Web Services Region of the commitment.
public OpenSearchReservedInstancesConfiguration withReservedInstancesRegion(String reservedInstancesRegion)
The Amazon Web Services Region of the commitment.
reservedInstancesRegion
- The Amazon Web Services Region of the commitment.public void setCurrentGeneration(String currentGeneration)
Determines whether the recommendation is for a current generation instance.
currentGeneration
- Determines whether the recommendation is for a current generation instance.public String getCurrentGeneration()
Determines whether the recommendation is for a current generation instance.
public OpenSearchReservedInstancesConfiguration withCurrentGeneration(String currentGeneration)
Determines whether the recommendation is for a current generation instance.
currentGeneration
- Determines whether the recommendation is for a current generation instance.public void setSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommendation is size flexible.
sizeFlexEligible
- Determines whether the recommendation is size flexible.public Boolean getSizeFlexEligible()
Determines whether the recommendation is size flexible.
public OpenSearchReservedInstancesConfiguration withSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommendation is size flexible.
sizeFlexEligible
- Determines whether the recommendation is size flexible.public Boolean isSizeFlexEligible()
Determines whether the recommendation is size flexible.
public void setUpfrontCost(String upfrontCost)
How much purchasing this instance costs you upfront.
upfrontCost
- How much purchasing this instance costs you upfront.public String getUpfrontCost()
How much purchasing this instance costs you upfront.
public OpenSearchReservedInstancesConfiguration withUpfrontCost(String upfrontCost)
How much purchasing this instance costs you upfront.
upfrontCost
- How much purchasing this instance costs you upfront.public void setMonthlyRecurringCost(String monthlyRecurringCost)
How much purchasing reserved instances costs you on a monthly basis.
monthlyRecurringCost
- How much purchasing reserved instances costs you on a monthly basis.public String getMonthlyRecurringCost()
How much purchasing reserved instances costs you on a monthly basis.
public OpenSearchReservedInstancesConfiguration withMonthlyRecurringCost(String monthlyRecurringCost)
How much purchasing reserved instances costs you on a monthly basis.
monthlyRecurringCost
- How much purchasing reserved instances costs you on a monthly basis.public String toString()
toString
in class Object
Object.toString()
public OpenSearchReservedInstancesConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.