Class CrmAccountEndpointRequest.Builder
- java.lang.Object
-
- com.merge.api.resources.crm.accounts.requests.CrmAccountEndpointRequest.Builder
-
- All Implemented Interfaces:
CrmAccountEndpointRequest._FinalStage,CrmAccountEndpointRequest.ModelStage
- Enclosing class:
- CrmAccountEndpointRequest
public static final class CrmAccountEndpointRequest.Builder extends java.lang.Object implements CrmAccountEndpointRequest.ModelStage, CrmAccountEndpointRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrmAccountEndpointRequestbuild()CrmAccountEndpointRequest.Builderfrom(CrmAccountEndpointRequest other)CrmAccountEndpointRequest._FinalStageisDebugMode(java.lang.Boolean isDebugMode)Whether to include debug fields (such as log file links) in the response.CrmAccountEndpointRequest._FinalStageisDebugMode(java.util.Optional<java.lang.Boolean> isDebugMode)CrmAccountEndpointRequest._FinalStagemodel(AccountRequest model)CrmAccountEndpointRequest._FinalStagerunAsync(java.lang.Boolean runAsync)Whether or not third-party updates should be run asynchronously.CrmAccountEndpointRequest._FinalStagerunAsync(java.util.Optional<java.lang.Boolean> runAsync)
-
-
-
Method Detail
-
from
public CrmAccountEndpointRequest.Builder from(CrmAccountEndpointRequest other)
- Specified by:
fromin interfaceCrmAccountEndpointRequest.ModelStage
-
model
public CrmAccountEndpointRequest._FinalStage model(AccountRequest model)
- Specified by:
modelin interfaceCrmAccountEndpointRequest.ModelStage
-
runAsync
public CrmAccountEndpointRequest._FinalStage runAsync(java.lang.Boolean runAsync)
Whether or not third-party updates should be run asynchronously.
- Specified by:
runAsyncin interfaceCrmAccountEndpointRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
runAsync
public CrmAccountEndpointRequest._FinalStage runAsync(java.util.Optional<java.lang.Boolean> runAsync)
- Specified by:
runAsyncin interfaceCrmAccountEndpointRequest._FinalStage
-
isDebugMode
public CrmAccountEndpointRequest._FinalStage isDebugMode(java.lang.Boolean isDebugMode)
Whether to include debug fields (such as log file links) in the response.
- Specified by:
isDebugModein interfaceCrmAccountEndpointRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isDebugMode
public CrmAccountEndpointRequest._FinalStage isDebugMode(java.util.Optional<java.lang.Boolean> isDebugMode)
- Specified by:
isDebugModein interfaceCrmAccountEndpointRequest._FinalStage
-
build
public CrmAccountEndpointRequest build()
- Specified by:
buildin interfaceCrmAccountEndpointRequest._FinalStage
-
-