@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMonitorResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateMonitorResult() |
Modifier and Type | Method and Description |
---|---|
UpdateMonitorResult |
clone() |
boolean |
equals(Object obj) |
String |
getMonitorArn()
The Amazon Resource Name (ARN) of the monitor.
|
String |
getStatus()
The status of a monitor.
|
int |
hashCode() |
void |
setMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor.
|
void |
setStatus(String status)
The status of a monitor.
|
String |
toString()
Returns a string representation of this object.
|
UpdateMonitorResult |
withMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor.
|
UpdateMonitorResult |
withStatus(MonitorConfigState status)
The status of a monitor.
|
UpdateMonitorResult |
withStatus(String status)
The status of a monitor.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor.
monitorArn
- The Amazon Resource Name (ARN) of the monitor.public String getMonitorArn()
The Amazon Resource Name (ARN) of the monitor.
public UpdateMonitorResult withMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor.
monitorArn
- The Amazon Resource Name (ARN) of the monitor.public void setStatus(String status)
The status of a monitor.
status
- The status of a monitor.MonitorConfigState
public String getStatus()
The status of a monitor.
MonitorConfigState
public UpdateMonitorResult withStatus(String status)
The status of a monitor.
status
- The status of a monitor.MonitorConfigState
public UpdateMonitorResult withStatus(MonitorConfigState status)
The status of a monitor.
status
- The status of a monitor.MonitorConfigState
public String toString()
toString
in class Object
Object.toString()
public UpdateMonitorResult clone()