Package com.amazonaws.services.ec2.model
Class InstanceMonitoring
- java.lang.Object
-
- com.amazonaws.services.ec2.model.InstanceMonitoring
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class InstanceMonitoring extends Object implements Serializable, Cloneable
Describes the monitoring information of the instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceMonitoring()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceMonitoring
clone()
boolean
equals(Object obj)
String
getInstanceId()
The ID of the instance.Monitoring
getMonitoring()
The monitoring information.int
hashCode()
void
setInstanceId(String instanceId)
The ID of the instance.void
setMonitoring(Monitoring monitoring)
The monitoring information.String
toString()
Returns a string representation of this object; useful for testing and debugging.InstanceMonitoring
withInstanceId(String instanceId)
The ID of the instance.InstanceMonitoring
withMonitoring(Monitoring monitoring)
The monitoring information.
-
-
-
Method Detail
-
setInstanceId
public void setInstanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.
-
getInstanceId
public String getInstanceId()
The ID of the instance.
- Returns:
- The ID of the instance.
-
withInstanceId
public InstanceMonitoring withInstanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMonitoring
public void setMonitoring(Monitoring monitoring)
The monitoring information.
- Parameters:
monitoring
- The monitoring information.
-
getMonitoring
public Monitoring getMonitoring()
The monitoring information.
- Returns:
- The monitoring information.
-
withMonitoring
public InstanceMonitoring withMonitoring(Monitoring monitoring)
The monitoring information.
- Parameters:
monitoring
- The monitoring information.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceMonitoring clone()
-
-