@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EcsService extends Object implements Serializable, Cloneable, StructuredPojo
The ECS service recommendation details.
| Constructor and Description |
|---|
EcsService() |
| Modifier and Type | Method and Description |
|---|---|
EcsService |
clone() |
boolean |
equals(Object obj) |
EcsServiceConfiguration |
getConfiguration()
The ECS service configuration used for recommendations.
|
ResourceCostCalculation |
getCostCalculation()
Cost impact of the recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConfiguration(EcsServiceConfiguration configuration)
The ECS service configuration used for recommendations.
|
void |
setCostCalculation(ResourceCostCalculation costCalculation)
Cost impact of the recommendation.
|
String |
toString()
Returns a string representation of this object.
|
EcsService |
withConfiguration(EcsServiceConfiguration configuration)
The ECS service configuration used for recommendations.
|
EcsService |
withCostCalculation(ResourceCostCalculation costCalculation)
Cost impact of the recommendation.
|
public void setConfiguration(EcsServiceConfiguration configuration)
The ECS service configuration used for recommendations.
configuration - The ECS service configuration used for recommendations.public EcsServiceConfiguration getConfiguration()
The ECS service configuration used for recommendations.
public EcsService withConfiguration(EcsServiceConfiguration configuration)
The ECS service configuration used for recommendations.
configuration - The ECS service configuration used for recommendations.public void setCostCalculation(ResourceCostCalculation costCalculation)
Cost impact of the recommendation.
costCalculation - Cost impact of the recommendation.public ResourceCostCalculation getCostCalculation()
Cost impact of the recommendation.
public EcsService withCostCalculation(ResourceCostCalculation costCalculation)
Cost impact of the recommendation.
costCalculation - Cost impact of the recommendation.public String toString()
toString in class ObjectObject.toString()public EcsService clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.