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.util.Date created)
Set the created time for the resource.
|
T |
withId(java.lang.String id)
Set the id for the resource.
|
T |
withUpdated(java.util.Date updated)
Set the updated time for the resource.
|
public T withId(java.lang.String id)
id
- The idpublic T withCreated(java.util.Date created)
created
- The created timepublic T withUpdated(java.util.Date updated)
updated
- The updated time