toDeploymentMode method
Implementation
DeploymentMode toDeploymentMode() {
switch (this) {
case 'SINGLE_INSTANCE':
return DeploymentMode.singleInstance;
case 'ACTIVE_STANDBY_MULTI_AZ':
return DeploymentMode.activeStandbyMultiAz;
case 'CLUSTER_MULTI_AZ':
return DeploymentMode.clusterMultiAz;
}
throw Exception('$this is not known in enum DeploymentMode');
}