QueryCriteria.VaultQueryCriteria.withConstraints - corda

corda / net.corda.core.node.services.vault / QueryCriteria / VaultQueryCriteria / withConstraints

# withConstraints

`fun withConstraints(constraints: Set<ConstraintInfo>): VaultQueryCriteria`

This function creates a new VaultQueryCriteria object with default values, and sets the value of constraints. Please use only one function in this group at a time to make sure they are not overwriting each other.