@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RDSSavingsEstimationMode extends Object implements Serializable, Cloneable, StructuredPojo
Describes the savings estimation mode used for calculating savings opportunity for Amazon RDS.
| Constructor and Description |
|---|
RDSSavingsEstimationMode() |
| Modifier and Type | Method and Description |
|---|---|
RDSSavingsEstimationMode |
clone() |
boolean |
equals(Object obj) |
String |
getSource()
Describes the source for calculating the savings opportunity for Amazon RDS.
|
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 RDS.
|
String |
toString()
Returns a string representation of this object.
|
RDSSavingsEstimationMode |
withSource(RDSSavingsEstimationModeSource source)
Describes the source for calculating the savings opportunity for Amazon RDS.
|
RDSSavingsEstimationMode |
withSource(String source)
Describes the source for calculating the savings opportunity for Amazon RDS.
|
public void setSource(String source)
Describes the source for calculating the savings opportunity for Amazon RDS.
source - Describes the source for calculating the savings opportunity for Amazon RDS.RDSSavingsEstimationModeSourcepublic String getSource()
Describes the source for calculating the savings opportunity for Amazon RDS.
RDSSavingsEstimationModeSourcepublic RDSSavingsEstimationMode withSource(String source)
Describes the source for calculating the savings opportunity for Amazon RDS.
source - Describes the source for calculating the savings opportunity for Amazon RDS.RDSSavingsEstimationModeSourcepublic RDSSavingsEstimationMode withSource(RDSSavingsEstimationModeSource source)
Describes the source for calculating the savings opportunity for Amazon RDS.
source - Describes the source for calculating the savings opportunity for Amazon RDS.RDSSavingsEstimationModeSourcepublic String toString()
toString in class ObjectObject.toString()public RDSSavingsEstimationMode clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.