Class AttachmentResponse.Builder
- java.lang.Object
-
- com.merge.api.resources.ats.types.AttachmentResponse.Builder
-
- All Implemented Interfaces:
AttachmentResponse._FinalStage,AttachmentResponse.ModelStage
- Enclosing class:
- AttachmentResponse
public static final class AttachmentResponse.Builder extends java.lang.Object implements AttachmentResponse.ModelStage, AttachmentResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentResponse._FinalStageaddAllErrors(java.util.List<ErrorValidationProblem> errors)AttachmentResponse._FinalStageaddAllWarnings(java.util.List<WarningValidationProblem> warnings)AttachmentResponse._FinalStageaddErrors(ErrorValidationProblem errors)AttachmentResponse._FinalStageaddWarnings(WarningValidationProblem warnings)AttachmentResponsebuild()AttachmentResponse._FinalStageerrors(java.util.List<ErrorValidationProblem> errors)AttachmentResponse.Builderfrom(AttachmentResponse other)AttachmentResponse._FinalStagelogs(java.util.List<DebugModeLog> logs)AttachmentResponse._FinalStagelogs(java.util.Optional<java.util.List<DebugModeLog>> logs)AttachmentResponse._FinalStagemodel(Attachment model)AttachmentResponse._FinalStagewarnings(java.util.List<WarningValidationProblem> warnings)
-
-
-
Method Detail
-
from
public AttachmentResponse.Builder from(AttachmentResponse other)
- Specified by:
fromin interfaceAttachmentResponse.ModelStage
-
model
public AttachmentResponse._FinalStage model(Attachment model)
- Specified by:
modelin interfaceAttachmentResponse.ModelStage
-
logs
public AttachmentResponse._FinalStage logs(java.util.List<DebugModeLog> logs)
- Specified by:
logsin interfaceAttachmentResponse._FinalStage
-
logs
public AttachmentResponse._FinalStage logs(java.util.Optional<java.util.List<DebugModeLog>> logs)
- Specified by:
logsin interfaceAttachmentResponse._FinalStage
-
addAllErrors
public AttachmentResponse._FinalStage addAllErrors(java.util.List<ErrorValidationProblem> errors)
- Specified by:
addAllErrorsin interfaceAttachmentResponse._FinalStage
-
addErrors
public AttachmentResponse._FinalStage addErrors(ErrorValidationProblem errors)
- Specified by:
addErrorsin interfaceAttachmentResponse._FinalStage
-
errors
public AttachmentResponse._FinalStage errors(java.util.List<ErrorValidationProblem> errors)
- Specified by:
errorsin interfaceAttachmentResponse._FinalStage
-
addAllWarnings
public AttachmentResponse._FinalStage addAllWarnings(java.util.List<WarningValidationProblem> warnings)
- Specified by:
addAllWarningsin interfaceAttachmentResponse._FinalStage
-
addWarnings
public AttachmentResponse._FinalStage addWarnings(WarningValidationProblem warnings)
- Specified by:
addWarningsin interfaceAttachmentResponse._FinalStage
-
warnings
public AttachmentResponse._FinalStage warnings(java.util.List<WarningValidationProblem> warnings)
- Specified by:
warningsin interfaceAttachmentResponse._FinalStage
-
build
public AttachmentResponse build()
- Specified by:
buildin interfaceAttachmentResponse._FinalStage
-
-