@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StatusReason extends Object implements Serializable, Cloneable, StructuredPojo
Provides additional context for the value of Compliance.Status
.
Constructor and Description |
---|
StatusReason() |
Modifier and Type | Method and Description |
---|---|
StatusReason |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The corresponding description for the status reason code.
|
String |
getReasonCode()
A code that represents a reason for the control status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The corresponding description for the status reason code.
|
void |
setReasonCode(String reasonCode)
A code that represents a reason for the control status.
|
String |
toString()
Returns a string representation of this object.
|
StatusReason |
withDescription(String description)
The corresponding description for the status reason code.
|
StatusReason |
withReasonCode(String reasonCode)
A code that represents a reason for the control status.
|
public void setReasonCode(String reasonCode)
A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the AWS Security Hub User Guide.
reasonCode
- A code that represents a reason for the control status. For the list of status reason codes and their
meanings, see Standards-related information in the ASFF in the AWS Security Hub User Guide.public String getReasonCode()
A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the AWS Security Hub User Guide.
public StatusReason withReasonCode(String reasonCode)
A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the AWS Security Hub User Guide.
reasonCode
- A code that represents a reason for the control status. For the list of status reason codes and their
meanings, see Standards-related information in the ASFF in the AWS Security Hub User Guide.public void setDescription(String description)
The corresponding description for the status reason code.
description
- The corresponding description for the status reason code.public String getDescription()
The corresponding description for the status reason code.
public StatusReason withDescription(String description)
The corresponding description for the status reason code.
description
- The corresponding description for the status reason code.public String toString()
toString
in class Object
Object.toString()
public StatusReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.