@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ec2AutoScalingGroup extends Object implements Serializable, Cloneable, StructuredPojo
The EC2 Auto Scaling group recommendation details.
Constructor and Description |
---|
Ec2AutoScalingGroup() |
Modifier and Type | Method and Description |
---|---|
Ec2AutoScalingGroup |
clone() |
boolean |
equals(Object obj) |
Ec2AutoScalingGroupConfiguration |
getConfiguration()
The EC2 Auto Scaling group 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(Ec2AutoScalingGroupConfiguration configuration)
The EC2 Auto Scaling group configuration used for recommendations.
|
void |
setCostCalculation(ResourceCostCalculation costCalculation)
Cost impact of the recommendation.
|
String |
toString()
Returns a string representation of this object.
|
Ec2AutoScalingGroup |
withConfiguration(Ec2AutoScalingGroupConfiguration configuration)
The EC2 Auto Scaling group configuration used for recommendations.
|
Ec2AutoScalingGroup |
withCostCalculation(ResourceCostCalculation costCalculation)
Cost impact of the recommendation.
|
public void setConfiguration(Ec2AutoScalingGroupConfiguration configuration)
The EC2 Auto Scaling group configuration used for recommendations.
configuration
- The EC2 Auto Scaling group configuration used for recommendations.public Ec2AutoScalingGroupConfiguration getConfiguration()
The EC2 Auto Scaling group configuration used for recommendations.
public Ec2AutoScalingGroup withConfiguration(Ec2AutoScalingGroupConfiguration configuration)
The EC2 Auto Scaling group configuration used for recommendations.
configuration
- The EC2 Auto Scaling group 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 Ec2AutoScalingGroup withCostCalculation(ResourceCostCalculation costCalculation)
Cost impact of the recommendation.
costCalculation
- Cost impact of the recommendation.public String toString()
toString
in class Object
Object.toString()
public Ec2AutoScalingGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.