public class MonitorInstancesResult extends Object implements Serializable
The result of enabling monitoring on a set of Amazon EC2 instances. Contains the updated monitoring status for each instance specified in the request.
Constructor and Description |
---|
MonitorInstancesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<InstanceMonitoring> |
getInstanceMonitorings()
A list of updated monitoring information for the instances specified
in the request.
|
int |
hashCode() |
void |
setInstanceMonitorings(Collection<InstanceMonitoring> instanceMonitorings)
A list of updated monitoring information for the instances specified
in the request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MonitorInstancesResult |
withInstanceMonitorings(Collection<InstanceMonitoring> instanceMonitorings)
A list of updated monitoring information for the instances specified
in the request.
|
MonitorInstancesResult |
withInstanceMonitorings(InstanceMonitoring... instanceMonitorings)
A list of updated monitoring information for the instances specified
in the request.
|
public List<InstanceMonitoring> getInstanceMonitorings()
public void setInstanceMonitorings(Collection<InstanceMonitoring> instanceMonitorings)
instanceMonitorings
- A list of updated monitoring information for the instances specified
in the request.public MonitorInstancesResult withInstanceMonitorings(InstanceMonitoring... instanceMonitorings)
Returns a reference to this object so that method calls can be chained together.
instanceMonitorings
- A list of updated monitoring information for the instances specified
in the request.public MonitorInstancesResult withInstanceMonitorings(Collection<InstanceMonitoring> instanceMonitorings)
Returns a reference to this object so that method calls can be chained together.
instanceMonitorings
- A list of updated monitoring information for the instances specified
in the request.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.