@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ec2ReservedInstances extends Object implements Serializable, Cloneable, StructuredPojo
The EC2 reserved instances recommendation details.
Constructor and Description |
---|
Ec2ReservedInstances() |
Modifier and Type | Method and Description |
---|---|
Ec2ReservedInstances |
clone() |
boolean |
equals(Object obj) |
Ec2ReservedInstancesConfiguration |
getConfiguration()
The EC2 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(Ec2ReservedInstancesConfiguration configuration)
The EC2 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.
|
Ec2ReservedInstances |
withConfiguration(Ec2ReservedInstancesConfiguration configuration)
The EC2 reserved instances configuration used for recommendations.
|
Ec2ReservedInstances |
withCostCalculation(ReservedInstancesCostCalculation costCalculation)
Cost impact of the purchase recommendation.
|
public void setConfiguration(Ec2ReservedInstancesConfiguration configuration)
The EC2 reserved instances configuration used for recommendations.
configuration
- The EC2 reserved instances configuration used for recommendations.public Ec2ReservedInstancesConfiguration getConfiguration()
The EC2 reserved instances configuration used for recommendations.
public Ec2ReservedInstances withConfiguration(Ec2ReservedInstancesConfiguration configuration)
The EC2 reserved instances configuration used for recommendations.
configuration
- The EC2 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 Ec2ReservedInstances withCostCalculation(ReservedInstancesCostCalculation costCalculation)
Cost impact of the purchase recommendation.
costCalculation
- Cost impact of the purchase recommendation.public String toString()
toString
in class Object
Object.toString()
public Ec2ReservedInstances clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.