@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getStackId() != null)
            sb.append("StackId: ").append(getStackId()).append(",");
        if (getStackDriftDetectionId() != null)
            sb.append("StackDriftDetectionId: ").append(getStackDriftDetectionId()).append(",");
        if (getStackDriftStatus() != null)
            sb.append("StackDriftStatus: ").append(getStackDriftStatus()).append(",");
        if (getDetectionStatus() != null)
            sb.append("DetectionStatus: ").append(getDetectionStatus()).append(",");
        if (getDetectionStatusReason() != null)
            sb.append("DetectionStatusReason: ").append(getDetectionStatusReason()).append(",");
        if (getDriftedStackResourceCount() != null)
            sb.append("DriftedStackResourceCount: ").append(getDriftedStackResourceCount()).append(",");
        if (getTimestamp() != null)
            sb.append("Timestamp: ").append(getTimestamp());
        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-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackDriftDetectionStatusResult.java