toNodeConfigurationOptionsFilterName method
Implementation
NodeConfigurationOptionsFilterName toNodeConfigurationOptionsFilterName() {
switch (this) {
case 'NodeType':
return NodeConfigurationOptionsFilterName.nodeType;
case 'NumberOfNodes':
return NodeConfigurationOptionsFilterName.numberOfNodes;
case 'EstimatedDiskUtilizationPercent':
return NodeConfigurationOptionsFilterName
.estimatedDiskUtilizationPercent;
case 'Mode':
return NodeConfigurationOptionsFilterName.mode;
}
throw Exception(
'$this is not known in enum NodeConfigurationOptionsFilterName');
}