@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElastiCacheReservedInstancesConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The ElastiCache reserved instances configuration used for recommendations.
Constructor and Description |
---|
ElastiCacheReservedInstancesConfiguration() |
Modifier and Type | Method and Description |
---|---|
ElastiCacheReservedInstancesConfiguration |
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 |
getInstanceFamily()
The instance family of the recommended reservation.
|
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 |
setInstanceFamily(String instanceFamily)
The instance family of the recommended reservation.
|
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.
|
ElastiCacheReservedInstancesConfiguration |
withAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
ElastiCacheReservedInstancesConfiguration |
withCurrentGeneration(String currentGeneration)
Determines whether the recommendation is for a current generation instance.
|
ElastiCacheReservedInstancesConfiguration |
withInstanceFamily(String instanceFamily)
The instance family of the recommended reservation.
|
ElastiCacheReservedInstancesConfiguration |
withInstanceType(String instanceType)
The type of instance that Amazon Web Services recommends.
|
ElastiCacheReservedInstancesConfiguration |
withMonthlyRecurringCost(String monthlyRecurringCost)
How much purchasing reserved instances costs you on a monthly basis.
|
ElastiCacheReservedInstancesConfiguration |
withNormalizedUnitsToPurchase(String normalizedUnitsToPurchase)
The number of normalized units that Amazon Web Services recommends that you purchase.
|
ElastiCacheReservedInstancesConfiguration |
withNumberOfInstancesToPurchase(String numberOfInstancesToPurchase)
The number of instances that Amazon Web Services recommends that you purchase.
|
ElastiCacheReservedInstancesConfiguration |
withPaymentOption(String paymentOption)
The payment option for the commitment.
|
ElastiCacheReservedInstancesConfiguration |
withReservedInstancesRegion(String reservedInstancesRegion)
The Amazon Web Services Region of the commitment.
|
ElastiCacheReservedInstancesConfiguration |
withService(String service)
The service that you want your recommendations for.
|
ElastiCacheReservedInstancesConfiguration |
withSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommendation is size flexible.
|
ElastiCacheReservedInstancesConfiguration |
withTerm(String term)
The reserved instances recommendation term in years.
|
ElastiCacheReservedInstancesConfiguration |
withUpfrontCost(String upfrontCost)
How much purchasing this instance costs you upfront.
|
public ElastiCacheReservedInstancesConfiguration()
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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration 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 setInstanceFamily(String instanceFamily)
The instance family of the recommended reservation.
instanceFamily
- The instance family of the recommended reservation.public String getInstanceFamily()
The instance family of the recommended reservation.
public ElastiCacheReservedInstancesConfiguration withInstanceFamily(String instanceFamily)
The instance family of the recommended reservation.
instanceFamily
- The instance family of the recommended reservation.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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration 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 ElastiCacheReservedInstancesConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.