@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getRuleName() != null)
            sb.append("RuleName: ").append(getRuleName()).append(",");
        if (getClientID() != null)
            sb.append("ClientID: ").append(getClientID()).append(",");
        if (getTimestamp() != null)
            sb.append("Timestamp: ").append(getTimestamp()).append(",");
        if (getRequestCount() != null)
            sb.append("RequestCount: ").append(getRequestCount()).append(",");
        if (getSampledCount() != null)
            sb.append("SampledCount: ").append(getSampledCount()).append(",");
        if (getBorrowCount() != null)
            sb.append("BorrowCount: ").append(getBorrowCount());
        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-xray/src/main/java/com/amazonaws/services/xray/model/SamplingStatisticsDocument.java