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