public void setConfigObject(Object configObject) {
    this.configObject = configObject;
  }
This class is the primary container for results returned from a {@link GfshCommand}.
<br>
The following different types of 'models' (or sections in the older terminology) can be added to
an instance of {@code ResultModel}.
<ul>
<li>{@code InfoResultModel}</li>
This model holds multiple lines of text.
<li>{@code TabularResultModel}</li>
This model holds a table of named columns and associated row values.
<li>{@code DataResultModel}</li>
This model holds a map of key/value pairs
</ul>
The order in which models are added is maintained and will be presented to the user in the same
order.
<br>
Errors should just be added as {@code InfoResultModel}s and then the status should be set
appropriately to indicate an error. Once a {@code ResultModel}s status has been set to ERROR, it
cannot be reset to OK.
<br>
Each added section should be given a descriptive name. This name will eventually become part of
the API when the JSON results are displayable via gfsh. So pick carefully :).
<br>
A few common and generic names are already defined:
<ul>
<li>{@code INFO_SECTION}</li>
Used for sections created by the {@code addInfo()} and {@code createInfo} methods.
<li>{@code ERROR_SECTION}</li>
Used for sections created by the {@code createError()} method.
<li>{@code MEMBER_STATUS_SECTION}</li>
Used for sections created by the various {@code createMemberStatusResult()} methods.
</ul>
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/result/model/ResultModel.java