toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ActionSubType.stopEc2Instances:
      return 'STOP_EC2_INSTANCES';
    case ActionSubType.stopRdsInstances:
      return 'STOP_RDS_INSTANCES';
  }
}