S - The type of the builder instance.public static class AuditDTO.Builder<S extends AuditDTO.Builder>
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected java.time.Instant | createTimeThe create time for the audit. | 
| protected java.lang.String | creatorThe creator of the audit. | 
| protected java.time.Instant | lastModifiedTimeThe last modified time for the audit. | 
| protected java.lang.String | lastModifierThe last modifier of the audit. | 
| Modifier and Type | Method and Description | 
|---|---|
| AuditDTO | build()Builds an instance of AuditDTO using the builder's properties. | 
| S | withCreateTime(java.time.Instant createTime)Sets the create time for the audit. | 
| S | withCreator(java.lang.String creator)Sets the creator for the audit. | 
| S | withLastModifiedTime(java.time.Instant lastModifiedTime)Sets the last modified time for the audit. | 
| S | withLastModifier(java.lang.String lastModifier)Sets who last modified the audit. | 
protected java.lang.String creator
protected java.time.Instant createTime
protected java.lang.String lastModifier
protected java.time.Instant lastModifiedTime
public S withCreator(java.lang.String creator)
creator - The creator of the audit.public S withCreateTime(java.time.Instant createTime)
createTime - The create time of the audit.public S withLastModifier(java.lang.String lastModifier)
lastModifier - The last modifier of the audit.public S withLastModifiedTime(java.time.Instant lastModifiedTime)
lastModifiedTime - The last modified time of the audit.public AuditDTO build()