@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StatusReason extends Object implements Serializable, Cloneable, StructuredPojo
Provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails,
a Failed status is returned. For an analyzer with organization as the type, this failure can be due to
an issue with creating the service-linked roles required in the member accounts of the Amazon Web Services
organization.
| Constructor and Description |
|---|
StatusReason() |
| Modifier and Type | Method and Description |
|---|---|
StatusReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The reason code for the current status of the analyzer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
The reason code for the current status of the analyzer.
|
String |
toString()
Returns a string representation of this object.
|
StatusReason |
withCode(ReasonCode code)
The reason code for the current status of the analyzer.
|
StatusReason |
withCode(String code)
The reason code for the current status of the analyzer.
|
public void setCode(String code)
The reason code for the current status of the analyzer.
code - The reason code for the current status of the analyzer.ReasonCodepublic String getCode()
The reason code for the current status of the analyzer.
ReasonCodepublic StatusReason withCode(String code)
The reason code for the current status of the analyzer.
code - The reason code for the current status of the analyzer.ReasonCodepublic StatusReason withCode(ReasonCode code)
The reason code for the current status of the analyzer.
code - The reason code for the current status of the analyzer.ReasonCodepublic String toString()
toString in class ObjectObject.toString()public StatusReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.