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