@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceSavingsEstimationMode extends Object implements Serializable, Cloneable, StructuredPojo
Describes the savings estimation mode used for calculating savings opportunity for Amazon EC2 instances.
| Constructor and Description |
|---|
InstanceSavingsEstimationMode() |
| Modifier and Type | Method and Description |
|---|---|
InstanceSavingsEstimationMode |
clone() |
boolean |
equals(Object obj) |
String |
getSource()
Describes the source for calculating the savings opportunity for Amazon EC2 instances.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSource(String source)
Describes the source for calculating the savings opportunity for Amazon EC2 instances.
|
String |
toString()
Returns a string representation of this object.
|
InstanceSavingsEstimationMode |
withSource(InstanceSavingsEstimationModeSource source)
Describes the source for calculating the savings opportunity for Amazon EC2 instances.
|
InstanceSavingsEstimationMode |
withSource(String source)
Describes the source for calculating the savings opportunity for Amazon EC2 instances.
|
public void setSource(String source)
Describes the source for calculating the savings opportunity for Amazon EC2 instances.
source - Describes the source for calculating the savings opportunity for Amazon EC2 instances.InstanceSavingsEstimationModeSourcepublic String getSource()
Describes the source for calculating the savings opportunity for Amazon EC2 instances.
InstanceSavingsEstimationModeSourcepublic InstanceSavingsEstimationMode withSource(String source)
Describes the source for calculating the savings opportunity for Amazon EC2 instances.
source - Describes the source for calculating the savings opportunity for Amazon EC2 instances.InstanceSavingsEstimationModeSourcepublic InstanceSavingsEstimationMode withSource(InstanceSavingsEstimationModeSource source)
Describes the source for calculating the savings opportunity for Amazon EC2 instances.
source - Describes the source for calculating the savings opportunity for Amazon EC2 instances.InstanceSavingsEstimationModeSourcepublic String toString()
toString in class ObjectObject.toString()public InstanceSavingsEstimationMode clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.