Package org.instancio.generator.specs
Interface UUIDStringGeneratorSpec
- All Superinterfaces:
GeneratorSpec<String>,NullableGeneratorSpec<String>
- All Known Subinterfaces:
UUIDStringSpec
Generator spec for generating UUID strings.
- Since:
- 1.5.0
-
Method Summary
Modifier and TypeMethodDescriptionnullable()Indicates thatnullvalue can be generated.Generate UUID String in uppercase characters.Generate UUID String without dashes.
-
Method Details
-
upperCase
UUIDStringGeneratorSpec upperCase()Generate UUID String in uppercase characters.- Returns:
- spec builder
- Since:
- 1.5.0
-
withoutDashes
UUIDStringGeneratorSpec withoutDashes()Generate UUID String without dashes.- Returns:
- spec builder
- Since:
- 1.5.0
-
nullable
GeneratorSpec<String> nullable()Indicates thatnullvalue can be generated.- Specified by:
nullablein interfaceNullableGeneratorSpec<String>- Returns:
- spec builder
- Since:
- 3.2.0
-