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