@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ec2AutoScalingGroupConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The EC2 auto scaling group configuration used for recommendations.
Constructor and Description |
---|
Ec2AutoScalingGroupConfiguration() |
Modifier and Type | Method and Description |
---|---|
Ec2AutoScalingGroupConfiguration |
clone() |
boolean |
equals(Object obj) |
InstanceConfiguration |
getInstance()
Details about the instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstance(InstanceConfiguration instance)
Details about the instance.
|
String |
toString()
Returns a string representation of this object.
|
Ec2AutoScalingGroupConfiguration |
withInstance(InstanceConfiguration instance)
Details about the instance.
|
public void setInstance(InstanceConfiguration instance)
Details about the instance.
instance
- Details about the instance.public InstanceConfiguration getInstance()
Details about the instance.
public Ec2AutoScalingGroupConfiguration withInstance(InstanceConfiguration instance)
Details about the instance.
instance
- Details about the instance.public String toString()
toString
in class Object
Object.toString()
public Ec2AutoScalingGroupConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.