@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.AlertManagerDefinitionStatusCode
public String getStatusCode()
The current status of the alert manager.
AlertManagerDefinitionStatusCode
public AlertManagerDefinitionStatus withStatusCode(String statusCode)
The current status of the alert manager.
statusCode
- The current status of the alert manager.AlertManagerDefinitionStatusCode
public AlertManagerDefinitionStatus withStatusCode(AlertManagerDefinitionStatusCode statusCode)
The current status of the alert manager.
statusCode
- The current status of the alert manager.AlertManagerDefinitionStatusCode
public 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 Object
Object.toString()
public AlertManagerDefinitionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.