@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlertManagerDefinitionStatus extends Object implements Serializable, Cloneable, StructuredPojo
The status of the alert manager.
| Constructor and Description |
|---|
AlertManagerDefinitionStatus() |
| Modifier and Type | Method and Description |
|---|---|
AlertManagerDefinitionStatus |
clone() |
boolean |
equals(Object obj) |
String |
getStatusCode()
The current status of the alert manager.
|
String |
getStatusReason()
If there is a failure, the reason for the failure.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setStatusCode(String statusCode)
The current status of the alert manager.
|
void |
setStatusReason(String statusReason)
If there is a failure, the reason for the failure.
|
String |
toString()
Returns a string representation of this object.
|
AlertManagerDefinitionStatus |
withStatusCode(AlertManagerDefinitionStatusCode statusCode)
The current status of the alert manager.
|
AlertManagerDefinitionStatus |
withStatusCode(String statusCode)
The current status of the alert manager.
|
AlertManagerDefinitionStatus |
withStatusReason(String statusReason)
If there is a failure, the reason for the failure.
|
public void setStatusCode(String statusCode)
The current status of the alert manager.
statusCode - The current status of the alert manager.AlertManagerDefinitionStatusCodepublic String getStatusCode()
The current status of the alert manager.
AlertManagerDefinitionStatusCodepublic AlertManagerDefinitionStatus withStatusCode(String statusCode)
The current status of the alert manager.
statusCode - The current status of the alert manager.AlertManagerDefinitionStatusCodepublic AlertManagerDefinitionStatus withStatusCode(AlertManagerDefinitionStatusCode statusCode)
The current status of the alert manager.
statusCode - The current status of the alert manager.AlertManagerDefinitionStatusCodepublic void setStatusReason(String statusReason)
If there is a failure, the reason for the failure.
statusReason - If there is a failure, the reason for the failure.public String getStatusReason()
If there is a failure, the reason for the failure.
public AlertManagerDefinitionStatus withStatusReason(String statusReason)
If there is a failure, the reason for the failure.
statusReason - If there is a failure, the reason for the failure.public String toString()
toString in class ObjectObject.toString()public AlertManagerDefinitionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.