public InvalidNodeException withInvalidNodes(java.util.Collection<Node> invalidNodes) {
        setInvalidNodes(invalidNodes);
        return this;
    }
<p>
The specified node type isn't valid.
</p>

@param invalidNodes
       The specified node type isn't valid.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/InvalidNodeException.java