Package com.chrt.api.types
Class OperationsTaskComment1.Builder
- java.lang.Object
-
- com.chrt.api.types.OperationsTaskComment1.Builder
-
- All Implemented Interfaces:
OperationsTaskComment1._FinalStage,OperationsTaskComment1.CommentStage,OperationsTaskComment1.TimestampStage,OperationsTaskComment1.UserIdStage
- Enclosing class:
- OperationsTaskComment1
public static final class OperationsTaskComment1.Builder extends java.lang.Object implements OperationsTaskComment1.CommentStage, OperationsTaskComment1.UserIdStage, OperationsTaskComment1.TimestampStage, OperationsTaskComment1._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationsTaskComment1build()OperationsTaskComment1.UserIdStagecomment(java.lang.String comment)OperationsTaskComment1.Builderfrom(OperationsTaskComment1 other)OperationsTaskComment1._FinalStageid(java.lang.String id)OperationsTaskComment1._FinalStageid(java.util.Optional<java.lang.String> id)OperationsTaskComment1._FinalStagetimestamp(java.time.OffsetDateTime timestamp)OperationsTaskComment1.TimestampStageuserId(java.lang.String userId)Must be a string starting withuser_
-
-
-
Method Detail
-
from
public OperationsTaskComment1.Builder from(OperationsTaskComment1 other)
- Specified by:
fromin interfaceOperationsTaskComment1.CommentStage
-
comment
public OperationsTaskComment1.UserIdStage comment(@NotNull java.lang.String comment)
- Specified by:
commentin interfaceOperationsTaskComment1.CommentStage
-
userId
public OperationsTaskComment1.TimestampStage userId(@NotNull java.lang.String userId)
Must be a string starting with
user_Must be a string starting with
user_- Specified by:
userIdin interfaceOperationsTaskComment1.UserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
timestamp
public OperationsTaskComment1._FinalStage timestamp(@NotNull java.time.OffsetDateTime timestamp)
- Specified by:
timestampin interfaceOperationsTaskComment1.TimestampStage
-
id
public OperationsTaskComment1._FinalStage id(java.lang.String id)
- Specified by:
idin interfaceOperationsTaskComment1._FinalStage
-
id
public OperationsTaskComment1._FinalStage id(java.util.Optional<java.lang.String> id)
- Specified by:
idin interfaceOperationsTaskComment1._FinalStage
-
build
public OperationsTaskComment1 build()
- Specified by:
buildin interfaceOperationsTaskComment1._FinalStage
-
-