@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDeviceId() != null)
            sb.append("DeviceId: ").append(getDeviceId()).append(",");
        if (getSampleTime() != null)
            sb.append("SampleTime: ").append(getSampleTime()).append(",");
        if (getReceivedTime() != null)
            sb.append("ReceivedTime: ").append(getReceivedTime()).append(",");
        if (getPosition() != null)
            sb.append("Position: ").append("***Sensitive Data Redacted***").append(",");
        if (getAccuracy() != null)
            sb.append("Accuracy: ").append(getAccuracy()).append(",");
        if (getPositionProperties() != null)
            sb.append("PositionProperties: ").append("***Sensitive Data Redacted***");
        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-location/src/main/java/com/amazonaws/services/location/model/GetDevicePositionResult.java