T
- Type of builder that extends thispublic abstract static class BaseDTO.Builder<T extends BaseDTO.Builder>
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
withCreated(java.time.Instant created)
Set the created time for the resource.
|
T |
withId(java.lang.String id)
Set the id for the resource.
|
T |
withUpdated(java.time.Instant updated)
Set the updated time for the resource.
|
public T withId(@Nullable java.lang.String id)
id
- The idpublic T withCreated(@Nullable java.time.Instant created)
created
- The created timepublic T withUpdated(@Nullable java.time.Instant updated)
updated
- The updated time