Enum StringType

java.lang.Object
java.lang.Enum<StringType>
org.instancio.settings.StringType
All Implemented Interfaces:
Serializable, Comparable<StringType>, java.lang.constant.Constable

@ExperimentalApi public enum StringType extends Enum<StringType>
A setting that specifies the type of String to generate. String type can be set using the Keys.STRING_TYPE setting:

 Person person = Instancio.of(Person.class)
     .withSetting(Keys.STRING_TYPE, StringType.ALPHANUMERIC) // all strings alphanumeric
     .create();
 
Since:
4.7.0
See Also: