public class InstanceMonitoring
extends java.lang.Object
implements java.io.Serializable
Describes the monitoring information of the instance.
Constructor and Description |
---|
InstanceMonitoring() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The ID of the instance.
|
Monitoring |
getMonitoring()
The monitoring information.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance.
|
void |
setMonitoring(Monitoring monitoring)
The monitoring information.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceMonitoring |
withInstanceId(java.lang.String instanceId)
The ID of the instance.
|
InstanceMonitoring |
withMonitoring(Monitoring monitoring)
The monitoring information.
|
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- The ID of the instance.public InstanceMonitoring withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance.public Monitoring getMonitoring()
public void setMonitoring(Monitoring monitoring)
monitoring
- The monitoring information.public InstanceMonitoring withMonitoring(Monitoring monitoring)
Returns a reference to this object so that method calls can be chained together.
monitoring
- The monitoring information.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.