In your example, yes, String is immutable and inaccessible, your constructor will be thread safe.
However, if you replace the string with an arbitrary object (say, another class) and you have setters for these objects, then you may run into thread safety problems. Therefore, in a more general answer to your question, the designers, like any other methods, do not offer an explicit thread safety mechanism, which is up to you to make sure that your operations are safe in the thread.
, .