public static class RandomDigitsFormatEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RandomDigitsFormatEntry |
build() |
RandomDigitsFormatEntry.Builder |
copy(RandomDigitsFormatEntry model) |
RandomDigitsFormatEntry.Builder |
description(String description) |
RandomDigitsFormatEntry.Builder |
endLength(Integer endLength)
The maximum number of digits the generated values should have.
|
RandomDigitsFormatEntry.Builder |
startLength(Integer startLength)
The minimum number of digits the generated values should have.
|
public RandomDigitsFormatEntry.Builder description(String description)
public RandomDigitsFormatEntry.Builder startLength(Integer startLength)
The minimum number of digits the generated values should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
startLength
- the value to setpublic RandomDigitsFormatEntry.Builder endLength(Integer endLength)
The maximum number of digits the generated values should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
endLength
- the value to setpublic RandomDigitsFormatEntry build()
public RandomDigitsFormatEntry.Builder copy(RandomDigitsFormatEntry model)
Copyright © 2016–2024. All rights reserved.