@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceMonitoring extends Object implements Serializable, Cloneable
Describes the monitoring of an instance.
Constructor and Description |
---|
InstanceMonitoring() |
Modifier and Type | Method and Description |
---|---|
InstanceMonitoring |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the instance.
|
Monitoring |
getMonitoring()
The monitoring for the instance.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setMonitoring(Monitoring monitoring)
The monitoring for the instance.
|
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 for the instance.
|
public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public InstanceMonitoring withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setMonitoring(Monitoring monitoring)
The monitoring for the instance.
monitoring
- The monitoring for the instance.public Monitoring getMonitoring()
The monitoring for the instance.
public InstanceMonitoring withMonitoring(Monitoring monitoring)
The monitoring for the instance.
monitoring
- The monitoring for the instance.public String toString()
toString
in class Object
Object.toString()
public InstanceMonitoring clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.