|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceMonitoring
public class InstanceMonitoring
Represents the monitoring state of an EC2 instance.
Constructor Summary | |
---|---|
InstanceMonitoring()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getInstanceId()
Instance ID. |
Monitoring |
getMonitoring()
Monitoring state for the associated instance. |
int |
hashCode()
|
void |
setInstanceId(String instanceId)
Instance ID. |
void |
setMonitoring(Monitoring monitoring)
Monitoring state for the associated instance. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceMonitoring |
withInstanceId(String instanceId)
Instance ID. |
InstanceMonitoring |
withMonitoring(Monitoring monitoring)
Monitoring state for the associated instance. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceMonitoring()
Method Detail |
---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- Instance ID.public InstanceMonitoring withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- Instance ID.
public Monitoring getMonitoring()
public void setMonitoring(Monitoring monitoring)
monitoring
- Monitoring state for the associated instance.public InstanceMonitoring withMonitoring(Monitoring monitoring)
Returns a reference to this object so that method calls can be chained together.
monitoring
- Monitoring state for the associated instance.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |