com.amazonaws.services.ec2.model
Class MonitorInstancesResult

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

public class MonitorInstancesResult
extends java.lang.Object

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 Summary
MonitorInstancesResult()
           
 
Method Summary
 java.util.List<InstanceMonitoring> getInstanceMonitorings()
          A list of updated monitoring information for the instances specified in the request.
 void setInstanceMonitorings(java.util.Collection<InstanceMonitoring> instanceMonitorings)
          A list of updated monitoring information for the instances specified in the request.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 MonitorInstancesResult withInstanceMonitorings(java.util.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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MonitorInstancesResult

public MonitorInstancesResult()
Method Detail

getInstanceMonitorings

public java.util.List<InstanceMonitoring> getInstanceMonitorings()
A list of updated monitoring information for the instances specified in the request.

Returns:
A list of updated monitoring information for the instances specified in the request.

setInstanceMonitorings

public void setInstanceMonitorings(java.util.Collection<InstanceMonitoring> instanceMonitorings)
A list of updated monitoring information for the instances specified in the request.

Parameters:
instanceMonitorings - A list of updated monitoring information for the instances specified in the request.

withInstanceMonitorings

public MonitorInstancesResult withInstanceMonitorings(InstanceMonitoring... instanceMonitorings)
A list of updated monitoring information for the instances specified in the request.

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

Parameters:
instanceMonitorings - A list of updated monitoring information for the instances specified in the request.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstanceMonitorings

public MonitorInstancesResult withInstanceMonitorings(java.util.Collection<InstanceMonitoring> instanceMonitorings)
A list of updated monitoring information for the instances specified in the request.

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

Parameters:
instanceMonitorings - A list of updated monitoring information for the instances specified in the request.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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


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