@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlertManagerDefinitionStatus extends Object implements Serializable, Cloneable, StructuredPojo
Represents the status of a definition.
Constructor and Description |
---|
AlertManagerDefinitionStatus() |
Modifier and Type | Method and Description |
---|---|
AlertManagerDefinitionStatus |
clone() |
boolean |
equals(Object obj) |
String |
getStatusCode()
Status code of this definition.
|
String |
getStatusReason()
The reason for failure if any.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatusCode(String statusCode)
Status code of this definition.
|
void |
setStatusReason(String statusReason)
The reason for failure if any.
|
String |
toString()
Returns a string representation of this object.
|
AlertManagerDefinitionStatus |
withStatusCode(AlertManagerDefinitionStatusCode statusCode)
Status code of this definition.
|
AlertManagerDefinitionStatus |
withStatusCode(String statusCode)
Status code of this definition.
|
AlertManagerDefinitionStatus |
withStatusReason(String statusReason)
The reason for failure if any.
|
public void setStatusCode(String statusCode)
Status code of this definition.
statusCode
- Status code of this definition.AlertManagerDefinitionStatusCode
public String getStatusCode()
Status code of this definition.
AlertManagerDefinitionStatusCode
public AlertManagerDefinitionStatus withStatusCode(String statusCode)
Status code of this definition.
statusCode
- Status code of this definition.AlertManagerDefinitionStatusCode
public AlertManagerDefinitionStatus withStatusCode(AlertManagerDefinitionStatusCode statusCode)
Status code of this definition.
statusCode
- Status code of this definition.AlertManagerDefinitionStatusCode
public void setStatusReason(String statusReason)
The reason for failure if any.
statusReason
- The reason for failure if any.public String getStatusReason()
The reason for failure if any.
public AlertManagerDefinitionStatus withStatusReason(String statusReason)
The reason for failure if any.
statusReason
- The reason for failure if any.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.