com.amazonaws.services.ec2.model
Class InstanceMonitoring

java.lang.Object
  extended by com.amazonaws.services.ec2.model.InstanceMonitoring

public class InstanceMonitoring
extends Object

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

InstanceMonitoring

public InstanceMonitoring()
Method Detail

getInstanceId

public String getInstanceId()
Instance ID.

Returns:
Instance ID.

setInstanceId

public void setInstanceId(String instanceId)
Instance ID.

Parameters:
instanceId - Instance ID.

withInstanceId

public InstanceMonitoring withInstanceId(String instanceId)
Instance ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - Instance ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getMonitoring

public Monitoring getMonitoring()
Monitoring state for the associated instance.

Returns:
Monitoring state for the associated instance.

setMonitoring

public void setMonitoring(Monitoring monitoring)
Monitoring state for the associated instance.

Parameters:
monitoring - Monitoring state for the associated instance.

withMonitoring

public InstanceMonitoring withMonitoring(Monitoring monitoring)
Monitoring state for the associated instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
monitoring - Monitoring state for the associated instance.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.