Package cern.nxcals.api.domain
Class HierarchyChangelog.Builder
- java.lang.Object
-
- cern.nxcals.api.domain.HierarchyChangelog.Builder
-
- Direct Known Subclasses:
HierarchyChangelog.InnerBuilder
- Enclosing class:
- HierarchyChangelog
public static class HierarchyChangelog.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HierarchyChangelog
build()
HierarchyChangelog.Builder
clientInfo(java.lang.String clientInfo)
HierarchyChangelog.Builder
createTimeUtc(java.time.Instant createTimeUtc)
HierarchyChangelog.Builder
hierarchyId(long hierarchyId)
HierarchyChangelog.Builder
newHierarchyName(java.lang.String newHierarchyName)
HierarchyChangelog.Builder
newParentId(java.lang.Long newParentId)
HierarchyChangelog.Builder
newSystemId(java.lang.Long newSystemId)
HierarchyChangelog.Builder
oldHierarchyName(java.lang.String oldHierarchyName)
HierarchyChangelog.Builder
oldParentId(java.lang.Long oldParentId)
HierarchyChangelog.Builder
oldSystemId(java.lang.Long oldSystemId)
HierarchyChangelog.Builder
opType(OperationType opType)
java.lang.String
toString()
-
-
-
Method Detail
-
hierarchyId
public HierarchyChangelog.Builder hierarchyId(long hierarchyId)
- Returns:
this
.
-
oldHierarchyName
public HierarchyChangelog.Builder oldHierarchyName(java.lang.String oldHierarchyName)
- Returns:
this
.
-
newHierarchyName
public HierarchyChangelog.Builder newHierarchyName(java.lang.String newHierarchyName)
- Returns:
this
.
-
oldParentId
public HierarchyChangelog.Builder oldParentId(java.lang.Long oldParentId)
- Returns:
this
.
-
newParentId
public HierarchyChangelog.Builder newParentId(java.lang.Long newParentId)
- Returns:
this
.
-
oldSystemId
public HierarchyChangelog.Builder oldSystemId(java.lang.Long oldSystemId)
- Returns:
this
.
-
newSystemId
public HierarchyChangelog.Builder newSystemId(java.lang.Long newSystemId)
- Returns:
this
.
-
createTimeUtc
public HierarchyChangelog.Builder createTimeUtc(java.time.Instant createTimeUtc)
- Returns:
this
.
-
opType
public HierarchyChangelog.Builder opType(OperationType opType)
- Returns:
this
.
-
clientInfo
public HierarchyChangelog.Builder clientInfo(java.lang.String clientInfo)
- Returns:
this
.
-
build
public HierarchyChangelog build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-