public static class DocumentError.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DocumentError |
build() |
DocumentError.Builder |
copy(DocumentError model) |
DocumentError.Builder |
error(ErrorDetails error) |
DocumentError.Builder |
key(String key)
Document unique identifier defined by the user.
|
public DocumentError.Builder key(String key)
Document unique identifier defined by the user.
key
- the value to setpublic DocumentError.Builder error(ErrorDetails error)
public DocumentError build()
public DocumentError.Builder copy(DocumentError model)
Copyright © 2016–2024. All rights reserved.