@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElastiCacheReservedInstances extends Object implements Serializable, Cloneable, StructuredPojo
The ElastiCache reserved instances recommendation details.
| Constructor and Description |
|---|
ElastiCacheReservedInstances() |
| Modifier and Type | Method and Description |
|---|---|
ElastiCacheReservedInstances |
clone() |
boolean |
equals(Object obj) |
ElastiCacheReservedInstancesConfiguration |
getConfiguration()
The ElastiCache reserved instances configuration used for recommendations.
|
ReservedInstancesCostCalculation |
getCostCalculation()
Cost impact of the purchase recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConfiguration(ElastiCacheReservedInstancesConfiguration configuration)
The ElastiCache reserved instances configuration used for recommendations.
|
void |
setCostCalculation(ReservedInstancesCostCalculation costCalculation)
Cost impact of the purchase recommendation.
|
String |
toString()
Returns a string representation of this object.
|
ElastiCacheReservedInstances |
withConfiguration(ElastiCacheReservedInstancesConfiguration configuration)
The ElastiCache reserved instances configuration used for recommendations.
|
ElastiCacheReservedInstances |
withCostCalculation(ReservedInstancesCostCalculation costCalculation)
Cost impact of the purchase recommendation.
|
public void setConfiguration(ElastiCacheReservedInstancesConfiguration configuration)
The ElastiCache reserved instances configuration used for recommendations.
configuration - The ElastiCache reserved instances configuration used for recommendations.public ElastiCacheReservedInstancesConfiguration getConfiguration()
The ElastiCache reserved instances configuration used for recommendations.
public ElastiCacheReservedInstances withConfiguration(ElastiCacheReservedInstancesConfiguration configuration)
The ElastiCache reserved instances configuration used for recommendations.
configuration - The ElastiCache reserved instances configuration used for recommendations.public void setCostCalculation(ReservedInstancesCostCalculation costCalculation)
Cost impact of the purchase recommendation.
costCalculation - Cost impact of the purchase recommendation.public ReservedInstancesCostCalculation getCostCalculation()
Cost impact of the purchase recommendation.
public ElastiCacheReservedInstances withCostCalculation(ReservedInstancesCostCalculation costCalculation)
Cost impact of the purchase recommendation.
costCalculation - Cost impact of the purchase recommendation.public String toString()
toString in class ObjectObject.toString()public ElastiCacheReservedInstances clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.