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