Package com.oracle.bmc.datasafe.model
Class RandomDateFormatEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.RandomDateFormatEntry.Builder
-
- Enclosing class:
- RandomDateFormatEntry
public static class RandomDateFormatEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomDateFormatEntry
build()
RandomDateFormatEntry.Builder
copy(RandomDateFormatEntry model)
RandomDateFormatEntry.Builder
description(String description)
RandomDateFormatEntry.Builder
endDate(Date endDate)
The upper bound of the range within which random dates should be generated.RandomDateFormatEntry.Builder
startDate(Date startDate)
The lower bound of the range within which random dates should be generated.
-
-
-
Method Detail
-
description
public RandomDateFormatEntry.Builder description(String description)
-
startDate
public RandomDateFormatEntry.Builder startDate(Date startDate)
The lower bound of the range within which random dates should be generated.The start date must be less than or equal to the end date.
- Parameters:
startDate
- the value to set- Returns:
- this builder
-
endDate
public RandomDateFormatEntry.Builder endDate(Date endDate)
The upper bound of the range within which random dates should be generated.The end date must be greater than or equal to the start date.
- Parameters:
endDate
- the value to set- Returns:
- this builder
-
build
public RandomDateFormatEntry build()
-
copy
public RandomDateFormatEntry.Builder copy(RandomDateFormatEntry model)
-
-