@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getActualReferenceId() != null)
            sb.append("ActualReferenceId: ").append(getActualReferenceId()).append(",");
        if (getActualValue() != null)
            sb.append("ActualValue: ").append(getActualValue()).append(",");
        if (getAppId() != null)
            sb.append("AppId: ").append(getAppId()).append(",");
        if (getAppVersion() != null)
            sb.append("AppVersion: ").append(getAppVersion()).append(",");
        if (getDiffType() != null)
            sb.append("DiffType: ").append(getDiffType()).append(",");
        if (getDriftType() != null)
            sb.append("DriftType: ").append(getDriftType()).append(",");
        if (getEntityId() != null)
            sb.append("EntityId: ").append(getEntityId()).append(",");
        if (getEntityType() != null)
            sb.append("EntityType: ").append(getEntityType()).append(",");
        if (getExpectedReferenceId() != null)
            sb.append("ExpectedReferenceId: ").append(getExpectedReferenceId()).append(",");
        if (getExpectedValue() != null)
            sb.append("ExpectedValue: ").append(getExpectedValue());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/ComplianceDrift.java