toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeploymentMode.singleInstance:
      return 'SINGLE_INSTANCE';
    case DeploymentMode.activeStandbyMultiAz:
      return 'ACTIVE_STANDBY_MULTI_AZ';
    case DeploymentMode.clusterMultiAz:
      return 'CLUSTER_MULTI_AZ';
  }
}