public static class RandomNumberFormatEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RandomNumberFormatEntry |
build() |
RandomNumberFormatEntry.Builder |
copy(RandomNumberFormatEntry model) |
RandomNumberFormatEntry.Builder |
description(String description) |
RandomNumberFormatEntry.Builder |
endValue(Long endValue)
The upper bound of the range within which random numbers should be generated.
|
RandomNumberFormatEntry.Builder |
startValue(Long startValue)
The lower bound of the range within which random numbers should be generated.
|
public RandomNumberFormatEntry.Builder description(String description)
public RandomNumberFormatEntry.Builder startValue(Long startValue)
The lower bound of the range within which random numbers should be generated. It must be less than or equal to the end value. It supports input of long type.
startValue
- the value to setpublic RandomNumberFormatEntry.Builder endValue(Long endValue)
The upper bound of the range within which random numbers should be generated. It must be greater than or equal to the start value. It supports input of long type.
endValue
- the value to setpublic RandomNumberFormatEntry build()
public RandomNumberFormatEntry.Builder copy(RandomNumberFormatEntry model)
Copyright © 2016–2024. All rights reserved.