Package com.oracle.bmc.datasafe.model
Class RandomDigitsFormatEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.RandomDigitsFormatEntry.Builder
-
- Enclosing class:
- RandomDigitsFormatEntry
public static class RandomDigitsFormatEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
description
public RandomDigitsFormatEntry.Builder description(String description)
-
startLength
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.
- Parameters:
startLength
- the value to set- Returns:
- this builder
-
endLength
public 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.
- Parameters:
endLength
- the value to set- Returns:
- this builder
-
build
public RandomDigitsFormatEntry build()
-
copy
public RandomDigitsFormatEntry.Builder copy(RandomDigitsFormatEntry model)
-
-