public static final class StreamWriteConstraints.Builder extends Object
Modifier and Type | Method and Description |
---|---|
StreamWriteConstraints |
build() |
StreamWriteConstraints.Builder |
maxNestingDepth(int maxNestingDepth)
Sets the maximum nesting depth.
|
public StreamWriteConstraints.Builder maxNestingDepth(int maxNestingDepth)
maxNestingDepth
- the maximum depthIllegalArgumentException
- if the maxNestingDepth is set to a negative valuepublic StreamWriteConstraints build()
Copyright © 2008–2024 FasterXML. All rights reserved.