@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, setSdkResponseMetadata
public 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.MonitorConfigState
public String getStatus()
The status of a monitor.
MonitorConfigState
public CreateMonitorResult withStatus(String status)
The status of a monitor.
status
- The status of a monitor.MonitorConfigState
public CreateMonitorResult 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 CreateMonitorResult clone()