public static class RandomStringFormatEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RandomStringFormatEntry |
build() |
RandomStringFormatEntry.Builder |
copy(RandomStringFormatEntry model) |
RandomStringFormatEntry.Builder |
description(String description) |
RandomStringFormatEntry.Builder |
endLength(Integer endLength)
The maximum number of characters the generated strings should have.
|
RandomStringFormatEntry.Builder |
startLength(Integer startLength)
The minimum number of characters the generated strings should have.
|
public RandomStringFormatEntry.Builder description(String description)
public RandomStringFormatEntry.Builder startLength(Integer startLength)
The minimum number of characters the generated strings 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 RandomStringFormatEntry.Builder endLength(Integer endLength)
The maximum number of characters the generated strings 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 RandomStringFormatEntry build()
public RandomStringFormatEntry.Builder copy(RandomStringFormatEntry model)
Copyright © 2016–2024. All rights reserved.