@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMonitorResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateMonitorResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateMonitorResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the monitor.
|
String |
getStatus()
The status of a monitor.
|
int |
hashCode() |
void |
setArn(String arn)
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.
|
CreateMonitorResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the monitor.
|
CreateMonitorResult |
withStatus(MonitorConfigState status)
The status of a monitor.
|
CreateMonitorResult |
withStatus(String status)
The status of a monitor.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setArn(String arn)
The Amazon Resource Name (ARN) of the monitor.
arn - The Amazon Resource Name (ARN) of the monitor.public String getArn()
The Amazon Resource Name (ARN) of the monitor.
public CreateMonitorResult withArn(String arn)
The Amazon Resource Name (ARN) of the monitor.
arn - The Amazon Resource Name (ARN) of the monitor.public void setStatus(String status)
The status of a monitor.
status - The status of a monitor.MonitorConfigStatepublic String getStatus()
The status of a monitor.
MonitorConfigStatepublic CreateMonitorResult withStatus(String status)
The status of a monitor.
status - The status of a monitor.MonitorConfigStatepublic CreateMonitorResult withStatus(MonitorConfigState status)
The status of a monitor.
status - The status of a monitor.MonitorConfigStatepublic String toString()
toString in class ObjectObject.toString()public CreateMonitorResult clone()