@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsightStatus extends Object implements Serializable, Cloneable, StructuredPojo
The status of the insight.
| Constructor and Description |
|---|
InsightStatus() |
| Modifier and Type | Method and Description |
|---|---|
InsightStatus |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
Explanation on the reasoning for the status of the resource.
|
String |
getStatus()
The status of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setReason(String reason)
Explanation on the reasoning for the status of the resource.
|
void |
setStatus(String status)
The status of the resource.
|
String |
toString()
Returns a string representation of this object.
|
InsightStatus |
withReason(String reason)
Explanation on the reasoning for the status of the resource.
|
InsightStatus |
withStatus(InsightStatusValue status)
The status of the resource.
|
InsightStatus |
withStatus(String status)
The status of the resource.
|
public void setStatus(String status)
The status of the resource.
status - The status of the resource.InsightStatusValuepublic String getStatus()
The status of the resource.
InsightStatusValuepublic InsightStatus withStatus(String status)
The status of the resource.
status - The status of the resource.InsightStatusValuepublic InsightStatus withStatus(InsightStatusValue status)
The status of the resource.
status - The status of the resource.InsightStatusValuepublic void setReason(String reason)
Explanation on the reasoning for the status of the resource.
reason - Explanation on the reasoning for the status of the resource.public String getReason()
Explanation on the reasoning for the status of the resource.
public InsightStatus withReason(String reason)
Explanation on the reasoning for the status of the resource.
reason - Explanation on the reasoning for the status of the resource.public String toString()
toString in class ObjectObject.toString()public InsightStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.