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