Package com.chrt.api.types
Class DriverBiddingGroup1.Builder
- java.lang.Object
-
- com.chrt.api.types.DriverBiddingGroup1.Builder
-
- All Implemented Interfaces:
DriverBiddingGroup1._FinalStage,DriverBiddingGroup1.CreatedAtTimestampStage,DriverBiddingGroup1.CreatedByUserIdStage,DriverBiddingGroup1.GroupNameStage,DriverBiddingGroup1.IdStage,DriverBiddingGroup1.LastEditedAtTimestampStage,DriverBiddingGroup1.OwnerOrgIdStage,DriverBiddingGroup1.SchemaVersionStage
- Enclosing class:
- DriverBiddingGroup1
public static final class DriverBiddingGroup1.Builder extends java.lang.Object implements DriverBiddingGroup1.SchemaVersionStage, DriverBiddingGroup1.GroupNameStage, DriverBiddingGroup1.OwnerOrgIdStage, DriverBiddingGroup1.CreatedByUserIdStage, DriverBiddingGroup1.CreatedAtTimestampStage, DriverBiddingGroup1.LastEditedAtTimestampStage, DriverBiddingGroup1.IdStage, DriverBiddingGroup1._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public DriverBiddingGroup1.Builder from(DriverBiddingGroup1 other)
- Specified by:
fromin interfaceDriverBiddingGroup1.SchemaVersionStage
-
schemaVersion
public DriverBiddingGroup1.GroupNameStage schemaVersion(int schemaVersion)
- Specified by:
schemaVersionin interfaceDriverBiddingGroup1.SchemaVersionStage
-
groupName
public DriverBiddingGroup1.OwnerOrgIdStage groupName(@NotNull java.lang.String groupName)
- Specified by:
groupNamein interfaceDriverBiddingGroup1.GroupNameStage
-
ownerOrgId
public DriverBiddingGroup1.CreatedByUserIdStage ownerOrgId(@NotNull java.lang.String ownerOrgId)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
ownerOrgIdin interfaceDriverBiddingGroup1.OwnerOrgIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdByUserId
public DriverBiddingGroup1.CreatedAtTimestampStage createdByUserId(@NotNull java.lang.String createdByUserId)
Must be a string starting with
user_Must be a string starting with
user_- Specified by:
createdByUserIdin interfaceDriverBiddingGroup1.CreatedByUserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAtTimestamp
public DriverBiddingGroup1.LastEditedAtTimestampStage createdAtTimestamp(@NotNull java.time.OffsetDateTime createdAtTimestamp)
- Specified by:
createdAtTimestampin interfaceDriverBiddingGroup1.CreatedAtTimestampStage
-
lastEditedAtTimestamp
public DriverBiddingGroup1.IdStage lastEditedAtTimestamp(@NotNull java.time.OffsetDateTime lastEditedAtTimestamp)
- Specified by:
lastEditedAtTimestampin interfaceDriverBiddingGroup1.LastEditedAtTimestampStage
-
id
public DriverBiddingGroup1._FinalStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceDriverBiddingGroup1.IdStage
-
driverIds
public DriverBiddingGroup1._FinalStage driverIds(java.util.List<java.lang.String> driverIds)
- Specified by:
driverIdsin interfaceDriverBiddingGroup1._FinalStage
-
driverIds
public DriverBiddingGroup1._FinalStage driverIds(java.util.Optional<java.util.List<java.lang.String>> driverIds)
- Specified by:
driverIdsin interfaceDriverBiddingGroup1._FinalStage
-
build
public DriverBiddingGroup1 build()
- Specified by:
buildin interfaceDriverBiddingGroup1._FinalStage
-
-