Class AddExecutorReq.Builder
- java.lang.Object
-
- com.chrt.api.resources.shipping.taskgroups.requests.AddExecutorReq.Builder
-
- Enclosing class:
- AddExecutorReq
public static final class AddExecutorReq.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddExecutorReqbuild()AddExecutorReq.BuilderexecutorOrgId(Nullable<java.lang.String> executorOrgId)AddExecutorReq.BuilderexecutorOrgId(java.lang.String executorOrgId)AddExecutorReq.BuilderexecutorOrgId(java.util.Optional<java.lang.String> executorOrgId)ID of the on-chrt provider organization to assign as executor.AddExecutorReq.Builderfrom(AddExecutorReq other)AddExecutorReq.BuilderoffChrtExecutorOrgId(Nullable<java.lang.String> offChrtExecutorOrgId)AddExecutorReq.BuilderoffChrtExecutorOrgId(java.lang.String offChrtExecutorOrgId)AddExecutorReq.BuilderoffChrtExecutorOrgId(java.util.Optional<java.lang.String> offChrtExecutorOrgId)ID of the off-chrt provider organization to assign as executor.
-
-
-
Method Detail
-
from
public AddExecutorReq.Builder from(AddExecutorReq other)
-
executorOrgId
public AddExecutorReq.Builder executorOrgId(java.util.Optional<java.lang.String> executorOrgId)
ID of the on-chrt provider organization to assign as executor. Mutually exclusive with off_chrt_executor_org_id.
-
executorOrgId
public AddExecutorReq.Builder executorOrgId(java.lang.String executorOrgId)
-
executorOrgId
public AddExecutorReq.Builder executorOrgId(Nullable<java.lang.String> executorOrgId)
-
offChrtExecutorOrgId
public AddExecutorReq.Builder offChrtExecutorOrgId(java.util.Optional<java.lang.String> offChrtExecutorOrgId)
ID of the off-chrt provider organization to assign as executor. Must be owned by the caller's coordinator org. Mutually exclusive with executor_org_id.
-
offChrtExecutorOrgId
public AddExecutorReq.Builder offChrtExecutorOrgId(java.lang.String offChrtExecutorOrgId)
-
offChrtExecutorOrgId
public AddExecutorReq.Builder offChrtExecutorOrgId(Nullable<java.lang.String> offChrtExecutorOrgId)
-
build
public AddExecutorReq build()
-
-